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/tool/gen/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index 646decf..fff031d 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -161,7 +161,7 @@ @pagination="getList" /> <!-- 棰勮鐣岄潰 --> - <el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body class="scrollbar"> + <el-dialog :title="preview.title" :close-on-click-modal="false" :visible.sync="preview.open" width="80%" top="5vh" append-to-body class="scrollbar"> <el-tabs v-model="preview.activeName"> <el-tab-pane v-for="(value, key) in preview.data" @@ -321,7 +321,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const tableIds = row.tableId || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎琛ㄧ紪鍙蜂负"' + tableIds + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() { return delTable(tableIds); }).then(() => { this.getList(); -- Gitblit v1.9.1