DESKTOP-SVI9JE1\muzen 1 gadu atpakaļ
vecāks
revīzija
528b980ea5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
   }
 })