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

pull/268/head
RuoYi 2 years ago
parent 43b336d26b
commit 58e07ba142

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

Loading…
Cancel
Save