Explorar o código

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

若依 %!s(int64=2) %!d(string=hai) anos
pai
achega
42d8104505
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 = "";