修复用户编辑时角色和部门存在无法修改情况

This commit is contained in:
RuoYi
2022-10-21 12:01:42 +08:00
parent 43b336d26b
commit 58e07ba142

View File

@@ -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 = "";