From 7a2615261877d61b79088798f24e3a4859a04fd3 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期一, 27 五月 2024 22:32:44 +0800
Subject: [PATCH] 1
---
src/views/configuration/custom/setField.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/configuration/custom/setField.vue b/src/views/configuration/custom/setField.vue
index 2cb3b92..a0062f6 100644
--- a/src/views/configuration/custom/setField.vue
+++ b/src/views/configuration/custom/setField.vue
@@ -19,7 +19,7 @@
<el-table-column fixed="right" label="鎿嶄綔">
<template #default="scope">
<el-button type="text" size="small" @click="table_edit(scope.row, scope.$index)">缂栬緫</el-button>
- <el-button text type="primary" size="small" @click="table_del(scope.row, scope.$index)">鍒犻櫎</el-button>
+ <el-button text type="primary" disabled size="small" @click="table_del(scope.row, scope.$index)">鍒犻櫎</el-button>
</template>
</el-table-column>
</el-table>
@@ -53,13 +53,16 @@
},
addField() {
- this.dialog.save = true
+ this.dialog.save = true;
this.$nextTick(() => {
this.$refs.saveDialog.open()
})
},
- table_edit() {
-
+ table_edit(row) {
+ this.dialog.save = true;
+ this.$nextTick(() => {
+ this.$refs.saveDialog.open('edit').setData(row)
+ })
},
table_del() {
--
Gitblit v1.9.3