From 23e164c966d94c2b367c2dd684dc0663c865fd8c Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 6 Mar 2023 09:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=99=AB=E5=AE=B3=20=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E7=AD=BE=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/pestType.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/massif/pestType.vue b/pages/massif/pestType.vue index 905aac1..51eb91b 100644 --- a/pages/massif/pestType.vue +++ b/pages/massif/pestType.vue @@ -164,7 +164,7 @@ export default { params:{code:"B09"} }) if(res.statu){ - this.cropList=res.data.map(v=>({...v,children:v?.children?.length>0?v.children:[{label:"全部",value:v.pest}]})) + this.cropList=res.data.map(v=>({...v,children:v?.children?.length>0?v.children:[{label:"全部",value:v.pest.map(v=>({name:v.label,id:v.id}))}]})) this.agrSearch(res.data[0]?.children?.[0]?.value||"") }else{ uni.showModal({