fix: 网元配置类型切换清空下拉树

This commit is contained in:
TsMask
2024-12-24 19:49:39 +08:00
parent b7da976819
commit 5a3fa2a6ba

View File

@@ -39,6 +39,7 @@ async function fnSelectNeType(_: any, info: any) {
});
treeState.selectLoading = true;
neIdSelect.value = [];
neSelectTreeDate.value = [];
return;
}
@@ -47,6 +48,7 @@ async function fnSelectNeType(_: any, info: any) {
treeState.selectLoading = true;
neTypeSelectStatus.value = true;
neIdSelect.value = [];
neSelectTreeDate.value = [];
// 构建可选树形数据
if (Array.isArray(info.children) && info.children.length > 0) {
const neArr = info.children.concat();