From 9833602ef64336ba9a937f998e5aba8c4096c59f Mon Sep 17 00:00:00 2001 From: "382696293@qq.com" <382696293@qq.com> Date: Fri, 5 Jan 2024 09:24:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=80=E7=BA=A7=E8=AF=9D?= =?UTF-8?q?=E6=9C=AF=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/scriptTag/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/flossom-ui/src/views/system/scriptTag/index.vue b/flossom-ui/src/views/system/scriptTag/index.vue index c68075a..3c49db1 100644 --- a/flossom-ui/src/views/system/scriptTag/index.vue +++ b/flossom-ui/src/views/system/scriptTag/index.vue @@ -417,7 +417,17 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - this.$modal.confirm('是否确认删除名称为"' + row.titile + '"的数据项?').then(function() { + let tip; + let title; + if(row.titile == null) { + tip = row.scriptName + title = '话术标题'; + } else { + tip = row.titile + title = '话术名称'; + } + + this.$modal.confirm('是否确认删除' + title + '为"' + tip + '"的数据项?').then(function() { return delTemplate(row.id); }).then(() => { this.getList();