From 2a4c6468b7609ee87a6aa80ee38351882ac528d4 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Tue, 11 Apr 2023 10:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9D=97=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=E4=BF=AE=E6=94=B9=E8=AF=A6=E6=83=85=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/info.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/massif/info.vue b/pages/massif/info.vue index a9be2da..f1397b4 100644 --- a/pages/massif/info.vue +++ b/pages/massif/info.vue @@ -142,10 +142,10 @@ import request from '@/common/request' params:{id} }) if(res.statu){ - this.formData=res.data + this.formData={...res.data,image:res.data.image||[]} this.fields.date.value=[res.data.beginTime, res.data.endTime] this.fields.plantBaseInfoId.value=[res.data.plantBaseInfoId] - this.fields.image.value=(res.data.image||'').join(',') + this.fields.image.value=res.data.image?.join?.(',')||'' // this.fields.longitude.value=this.formData.longitude.split(";").map(v=>{ // var point=v.split(",") // if(point.length==2){