fix(系统设置): 组织项目新增编辑项目所属组织显示问题

This commit is contained in:
RubyLiu 2024-02-05 10:37:24 +08:00 committed by 刘瑞斌
parent 9db523ebd0
commit 9e744abcc0
1 changed files with 6 additions and 11 deletions

View File

@ -264,15 +264,10 @@
form.resourcePoolIds = props.currentProject.resourcePoolIds; form.resourcePoolIds = props.currentProject.resourcePoolIds;
} }
}); });
watch( onMounted(() => {
() => props.visible, initAffiliatedOrgOption();
(val) => { });
currentVisible.value = val; onUnmounted(() => {
if (!val) { formReset();
formReset(); });
} else {
initAffiliatedOrgOption();
}
}
);
</script> </script>