From 5aa165156994b1b8a601063fa0a1107d1893ea57 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 19 三月 2026 16:48:13 +0800
Subject: [PATCH] 更新
---
src/views/project/donatebaseinfo/index.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/project/donatebaseinfo/index.vue b/src/views/project/donatebaseinfo/index.vue
index 6c29d1c..10928eb 100644
--- a/src/views/project/donatebaseinfo/index.vue
+++ b/src/views/project/donatebaseinfo/index.vue
@@ -65,7 +65,6 @@
<!-- 鎿嶄綔鎸夐挳 -->
<el-row :gutter="10" class="mb8">
-
<el-col :span="1.5">
<el-button
type="warning"
@@ -535,9 +534,14 @@
},
/** 鎵撳紑缂栬緫寮圭獥 */
handleOpenEdit(row) {
- this.currentEditData = { ...row };
- console.log(this.currentEditData, "this.currentEditData");
- this.editModalVisible = true;
+ // 纭繚鍦ㄦ墦寮�寮规鍓嶉噸缃甤urrentEditData
+ this.currentEditData = {};
+
+ // 浣跨敤$nextTick纭繚DOM鏇存柊瀹屾垚
+ this.$nextTick(() => {
+ this.currentEditData = { ...row };
+ this.editModalVisible = true;
+ });
},
/** 澶勭悊缂栬緫鎴愬姛 */
@@ -549,6 +553,7 @@
/** 澶勭悊缂栬緫寮圭獥鍏抽棴 */
handleEditClosed() {
this.currentEditData = {};
+ this.editModalVisible = false;
},
handleModalVisibleChange(newVisible) {
--
Gitblit v1.9.3