From b3582afa743fc8a60dd06291a697d57c117040a8 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 7 Nov 2022 18:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=B1=85=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/epidemic/travelForm.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/epidemic/travelForm.vue b/src/views/modules/base/epidemic/travelForm.vue index 95f59e153..af777fe1f 100644 --- a/src/views/modules/base/epidemic/travelForm.vue +++ b/src/views/modules/base/epidemic/travelForm.vue @@ -498,7 +498,12 @@ export default { } else { const { user } = this.$store.state - this.nowAllCode = user.areaCodePath + if (user.areaCodePath.length === 5) { + this.nowAllCode = [user.areaCodePath[0], user.areaCodePath[1], user.areaCodePath[2]] + } else { + this.nowAllCode = user.areaCodePath + } + } // this.$refs['ref_form'].resetFields();