handleUpdate(row)方法中:this.form = response.data;语句 会导致【this.form.postIds = response.postIds;】和【this.form.roleIds = response.roleIds;】失效。 导致用户编辑对话框中,角色和部门多选框无法正常修改。 建议使用以下语句修改: this.$set(this.form, "postIds", response.postIds); this.$set(this.form, "roleIds", response.roleIds); Signed-off-by: kknd97 <liujingwei@ln.chinamobile.com>master
parent
bf83fe568b
commit
b970185536
Loading…
Reference in new issue