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

This commit is contained in:
TsMask
2024-12-24 19:49:51 +08:00
parent 081c79b85b
commit e3792eff57

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();