소스 검색

!603 update ruoyi-ui/src/views/system/user/index.vue.
Merge pull request !603 from kknd97/N/A

若依 2 년 전
부모
커밋
42d8104505
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ruoyi-ui/src/views/system/user/index.vue

+ 2 - 2
ruoyi-ui/src/views/system/user/index.vue

@@ -576,8 +576,8 @@ export default {
         this.form = response.data;
         this.postOptions = response.posts;
         this.roleOptions = response.roles;
-        this.form.postIds = response.postIds;
-        this.form.roleIds = response.roleIds;
+        this.$set(this.form, "postIds", response.postIds);
+        this.$set(this.form, "roleIds", response.roleIds);
         this.open = true;
         this.title = "修改用户";
         this.form.password = "";