diff --git a/frontend/src/views/system/user/userEditer.vue b/frontend/src/views/system/user/userEditer.vue index ec066391ff..596cf9926c 100644 --- a/frontend/src/views/system/user/userEditer.vue +++ b/frontend/src/views/system/user/userEditer.vue @@ -361,7 +361,7 @@ export default { this.create(); return; } - const { deptId:id, deptName:label } = row.dept; + const { deptId:id, deptName:label } = (row.dept || {}); this.selectDepts = [{id, label}] this.formType = "modify"; this.dialogVisible = true;