diff --git a/package_sub/pages/BatchForm/BatchForm.vue b/package_sub/pages/BatchForm/BatchForm.vue index 5a648a5..2aa206f 100644 --- a/package_sub/pages/BatchForm/BatchForm.vue +++ b/package_sub/pages/BatchForm/BatchForm.vue @@ -537,7 +537,7 @@ export default { try { const res = await this.$u.api.area() this.areaList = res.list - this.groupArea = res.list?.reduce((acc, item) => { + this.groupArea = res.list?.filter(i => i.group)?.reduce((acc, item) => { const key = item.group; if (!acc[key]) { acc[key] = []; diff --git a/package_sub/pages/RecommendForm/RecommendForm.vue b/package_sub/pages/RecommendForm/RecommendForm.vue index d7596aa..5f8beb4 100644 --- a/package_sub/pages/RecommendForm/RecommendForm.vue +++ b/package_sub/pages/RecommendForm/RecommendForm.vue @@ -286,7 +286,9 @@ width: '450rpx', margin: '60rpx auto 0', }" - @click="" + @click="$u.route({ + url: '/package_sub/pages/BatchForm/BatchForm' + })" >去模拟填报