From f8e7dc84f30df6dbac5d32ce84a85c7d804f0f9d Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@126.com> Date: 星期五, 07 一月 2022 18:31:14 +0800 Subject: [PATCH] 代码提交 --- src/views/system/dict/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index fed26e3..e9eb376 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -146,6 +146,7 @@ size="mini" type="text" icon="el-icon-delete" + class="del-btn" @click="handleDelete(scope.row)" v-hasPermi="['system:dict:remove']" >鍒犻櫎</el-button> @@ -326,7 +327,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const dictIds = row.dictId || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎瀛楀吀缂栧彿涓�"' + dictIds + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() { return delType(dictIds); }).then(() => { this.getList(); -- Gitblit v1.9.1