Browse Source

添加默认

zhaoke 3 years ago
parent
commit
9a0c3b925f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/staffManagement/compontents/staffEdit.vue

+ 2 - 0
src/views/staffManagement/compontents/staffEdit.vue

@@ -328,6 +328,8 @@ export default {
             })
             })
             this.userGroupKeys = datas;
             this.userGroupKeys = datas;
             this.GroupIds = datas;
             this.GroupIds = datas;
+          } else {
+            this.GroupIds = ['default'];
           }
           }
           if (UserList && UserList.length) {
           if (UserList && UserList.length) {
             const datas = [];
             const datas = [];