DESKTOP-SVI9JE1\muzen 1 tahun lalu
induk
melakukan
528b980ea5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)
   }
 })