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) { // 确保在打开弹框前重置currentEditData this.currentEditData = {}; // 使用$nextTick确保DOM更新完成 this.$nextTick(() => { this.currentEditData = { ...row }; console.log(this.currentEditData, "this.currentEditData"); this.editModalVisible = true; }); }, /** 处理编辑成功 */