From e8ce76bdabdb156e346da2ce703948d0682070ec Mon Sep 17 00:00:00 2001 From: majingfu <1344267175@qq.com> Date: Mon, 6 Mar 2023 17:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=97=85=E8=99=AB=E5=AE=B3?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=20=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_farming.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 539a4ae..0abc533 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -356,7 +356,7 @@ export default { body:{ ...this.formData, images: this.fields.images.value, - farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.id).join(",")||''}) + farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.name).join(",")||''}) } }) if(res.statu){ @@ -411,4 +411,4 @@ export default { this.$provise.off('forming_agr') }, } - \ No newline at end of file +