Merge remote-tracking branch 'origin/master'

master
Wen JY 2 years ago
commit 3efc0f7cdd

@ -583,7 +583,8 @@ export default {
status: "0", status: "0",
remark: undefined, remark: undefined,
postIds: [], postIds: [],
roleIds: [] roleIds: [],
datasourceId:[]
}; };
this.resetForm("form"); this.resetForm("form");
}, },
@ -636,6 +637,7 @@ export default {
const userId = row.userId || this.ids; const userId = row.userId || this.ids;
getUser(userId).then(response => { getUser(userId).then(response => {
this.form = response.data; this.form = response.data;
this.form.datasourceId = response.data?.datasourceId?.split(',');
this.postOptions = response.posts; this.postOptions = response.posts;
this.roleOptions = response.roles; this.roleOptions = response.roles;
this.$set(this.form, "postIds", response.postIds); this.$set(this.form, "postIds", response.postIds);

Loading…
Cancel
Save