浏览代码

添加默认

zhaoke 3 年之前
父节点
当前提交
9a0c3b925f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.GroupIds = datas;
+          } else {
+            this.GroupIds = ['default'];
           }
           if (UserList && UserList.length) {
             const datas = [];