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();