From 0584100d9436e6f41d24936c38c291ee62fd416b Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 14 Jun 2022 18:54:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/projectManagement/components/listOfRegulations.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index b17ecaa11..714e45c09 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1080,7 +1080,7 @@ this.formInlineRoleSwitching.roleSwitchingCode = '0' } if (!(this.roleSwitchingList.some(val => val.roleCode == this.formInlineRoleSwitching.roleSwitchingCode))) { - this.formInlineRoleSwitching.roleSwitchingCode = this.roleSwitchingList[0].roleCode + this.formInlineRoleSwitching.roleSwitchingCode = this.roleSwitchingList[0] ? this.roleSwitchingList[0].roleCode : '' } this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching } })