🎉 2.0.0.RELEASE

pull/59/head
smallchill 7 years ago
parent d24cf77b0e
commit 503bcf436a
  1. 8
      src/views/system/user.vue

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

Loading…
Cancel
Save