From 5a1cbbd198bc9c0a6a8af83985c75e96ae25ab9c Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@126.com> Date: 星期四, 27 一月 2022 11:28:36 +0800 Subject: [PATCH] 问题修改 --- src/views/system/config/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 9fde370..bc04984 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -122,7 +122,7 @@ <span>{{ parseTime(scope.row.createTime) }}</span> </template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> + <el-table-column label="鎿嶄綔" align="center" fixed="right" width="120" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button size="mini" @@ -151,7 +151,7 @@ /> <!-- 娣诲姞鎴栦慨鏀瑰弬鏁伴厤缃璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> + <Dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form-item label="鍙傛暟鍚嶇О" prop="configName"> <el-input v-model="form.configName" placeholder="璇疯緭鍏ュ弬鏁板悕绉�" /> @@ -179,7 +179,7 @@ <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> <el-button @click="cancel">鍙� 娑�</el-button> </div> - </el-dialog> + </Dialog> </div> </template> @@ -322,7 +322,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const configIds = row.configId || this.ids; - this.$modal.confirm('鏄惁纭鍒犻櫎鍙傛暟缂栧彿涓�"' + configIds + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() { return delConfig(configIds); }).then(() => { this.getList(); -- Gitblit v1.9.1