修复用户管理编辑、查看未将部门角色绑定成功的bug

pull/59/head
smallchill 7 years ago
parent 5f3c8d073a
commit 048d1a3e97
  1. 2
      src/views/system/user.vue

@ -380,7 +380,7 @@
beforeOpen(done, type) {
if (["edit", "view"].includes(type)) {
getUser(this.form.id).then(res => {
this.form = res.data.data;
this.form = res.data;
this.form.deptId = this.form.deptId.split(",");
this.form.deptId.forEach((ele, index) => {
this.form.deptId[index] = Number(ele);

Loading…
Cancel
Save