@@ -492,7 +492,7 @@ function cancelDataScope() {
// 检测功能类型
watch(() => form.value.roleType, (val) => {
- if (form.value.roleId === null) {
+ if (form.value.roleId === undefined) {
getMenuTreeselect(val)
}
})