diff --git a/frontend/src/business/components/common/components/MsDeleteConfirm.vue b/frontend/src/business/components/common/components/MsDeleteConfirm.vue index 0c083a332a..2396c60ddb 100644 --- a/frontend/src/business/components/common/components/MsDeleteConfirm.vue +++ b/frontend/src/business/components/common/components/MsDeleteConfirm.vue @@ -61,7 +61,7 @@ this.record = record; }, confirm() { - if (this.value.trim() != 'DELETE-' + this.record.name) { + if (this.value.trim() !== ('DELETE-' + this.record.name).trim()) { this.$warning(this.$t('commons.incorrect_input')); return; } @@ -89,6 +89,7 @@ .delete-tip { font-style: italic; font-weight: bold; + white-space: pre-wrap; } .tip {