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;
}
});
watch(
() => props.visible,
(val) => {
currentVisible.value = val;
if (!val) {
formReset();
} else {
initAffiliatedOrgOption();
}
}
);
onMounted(() => {
initAffiliatedOrgOption();
});
onUnmounted(() => {
formReset();
});
</script>