소스 검색

用户编辑页优化:新增主用户ID设置并修复组角色列表初始化问题

yusheng 10 달 전
부모
커밋
7db62aeb28
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/system/user/components/user-edit.vue

+ 1 - 0
src/views/system/user/components/user-edit.vue

@@ -286,6 +286,7 @@
         let id = this.data?.id || userRow?.id;
         getById(id).then((res) => {
           this.form = res.data;
+          this.form.mainUserId = id;
           this.getUserDetail();
           this.form.groupRolePOList = [];
           res.data.groupRoleList.forEach((item) => {