From 1908a80cd8224860bb704486fa78a18cc9a06bf7 Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@126.com> Date: 星期一, 24 一月 2022 17:42:19 +0800 Subject: [PATCH] 问题修改 --- src/views/system/post/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue index d4694d0..5aaeb82 100644 --- a/src/views/system/post/index.vue +++ b/src/views/system/post/index.vue @@ -109,6 +109,7 @@ <el-button size="mini" type="text" + class="del-btn" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['system:post:remove']" @@ -293,7 +294,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const postIds = row.postId || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎宀椾綅缂栧彿涓�"' + postIds + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() { return delPost(postIds); }).then(() => { this.getList(); -- Gitblit v1.9.1