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();