Browse Source

Merge pull request #649 from flipped-aurora/gva-vue3-2.4.5

修复新增用户的bug
奇淼(piexlmax 3 years ago
parent
commit
a9977bd476
1 changed files with 1 additions and 2 deletions
  1. 1 2
      web/src/view/superAdmin/user/user.vue

+ 1 - 2
web/src/view/superAdmin/user/user.vue

@@ -74,8 +74,7 @@
         </el-form-item>
         <el-form-item label="用户角色" label-width="80px" prop="authorityId">
           <el-cascader
-            v-if="userInfo"
-            v-model:visible="userInfo.authorityIds"
+            v-model="userInfo.authorityIds"
             :options="authOptions"
             :show-all-levels="false"
             :props="{ multiple:true,checkStrictly: true,label:'authorityName',value:'authorityId',disabled:'disabled',emitPath:false}"