瀏覽代碼

用户编辑页优化:新增主用户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) => {