This commit is contained in:
djj 2025-04-18 11:24:07 +08:00
parent 949da4517a
commit 41e830ca7d

View File

@ -306,10 +306,12 @@ const handleSelectionChange = (selection: any) => {
};
/** 添加 */
const handleAdd = () => {
const handleAdd = async () => {
addGetTreeselect()
//
koiDrawerRef.value.koiOpen();
await nextTick(); //
treeRef.value.setCheckedKeys([], false);
//
resetForm();
//
@ -456,7 +458,7 @@ const handleUpdate = async (row?: any) => {
form.value = res.data;
//
if (treeRef.value) {
await nextTick(); // UI
await nextTick(); //
treeRef.value.setCheckedKeys([], false);
}
//