| src/views/system/user.vue | ●●●●● patch | view | raw | blame | history |
src/views/system/user.vue
@@ -1033,10 +1033,11 @@ beforeOpen(done, type) { const column = this.findObject(this.option.group, "farmId"); if(type == "add"&& column.dicData == ""){ this.form = {} this.initData(website.tenantId) } this.form = {} if (["edit", "view"].includes(type)) { console.log(this.form.id) getUser(this.form.id).then(res => { this.form = res.data.data; if(this.form.hasOwnProperty("deptId")){