Browse Source

地块基本信息 修改详情图片初始化

master
邓宏 2 years ago
parent
commit
2a4c6468b7
  1. 4
      pages/massif/info.vue

4
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){

Loading…
Cancel
Save