RuoYi
2022-10-21 58e07ba1423be34ff6c55dc921e3acd97837914b
修复用户编辑时角色和部门存在无法修改情况
1 files modified
4 ■■■■ changed files
ruoyi-ui/src/views/system/user/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/user/index.vue
@@ -576,8 +576,8 @@
        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 = "";