Browse Source

no message

DESKTOP-SVI9JE1\muzen 1 year ago
parent
commit
528b980ea5
1 changed files with 1 additions and 1 deletions
  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)
   }
 })