refactor(xumu): 优化 AppAccountConfigManage 组件中对话框关闭逻辑

- 在对话框关闭事件中添加了 getTableData 方法调用
- 优化了数据重载和状态重置的逻辑
This commit is contained in:
aixianling
2025-01-07 10:19:26 +08:00
parent 95689baff9
commit 7f086f8b83

View File

@@ -100,7 +100,7 @@ export default {
</template> </template>
</el-table-column> </el-table-column>
</ai-table> </ai-table>
<ai-dialog v-model="dialog" title="认证材料" width="50vw" @close="userId=''" <ai-dialog v-model="dialog" title="认证材料" width="50vw" @close="userId='',getTableData()"
@open="getTreeData" customFooter> @open="getTreeData" customFooter>
<el-button class="mar-b8" type="primary" @click="createNode(treeData)">新增根节点</el-button> <el-button class="mar-b8" type="primary" @click="createNode(treeData)">新增根节点</el-button>
<el-tree :data="treeData" :props="{label:'name'}" default-expand-all> <el-tree :data="treeData" :props="{label:'name'}" default-expand-all>