DESKTOP-SVI9JE1\muzen 1 anno fa
parent
commit
528b980ea5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/system/role/index.vue

+ 1 - 1
src/views/system/role/index.vue

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