From 006936b7eb727cd6e36eaa6edf96c5bf84a84b0e Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Tue, 2 Aug 2022 16:28:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E7=BB=84=E7=BB=87=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E4=B8=BA=E7=A9=BAbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/user/userEditer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From 587e93292828401be9d52fb48098336385909268 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Tue, 2 Aug 2022 16:28:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E7=BB=84=E7=BB=87=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E4=B8=BA=E7=A9=BAbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/user/userEditer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;