From 45680b99ccdfb0d323088c57c237e0bc714a8e0b Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 13 三月 2026 09:21:32 +0800
Subject: [PATCH] 青岛opo维护

---
 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