Commit 7c493a90 authored by xinzhedeai's avatar xinzhedeai

fix:商户图片修改

parent 1174bd0a
......@@ -485,7 +485,20 @@ window.addEventListener('load', function () {
})
}, 0);
var result = JSON.parse(res)
this.formData = result.data
// 图片数据结构处理
let tempData = result.data
if(tempData['businessLicensePhotos']){
tempData['businessLicensePhotos'] = tempData['businessLicensePhotos'].split(',')
}
if(tempData['floorPlanPhotos']){
tempData['floorPlanPhotos'] = tempData['floorPlanPhotos'].split(',')
}
if(tempData['storefrontPhotos']){
tempData['storefrontPhotos'] = tempData['storefrontPhotos'].split(',')
}
this.formData = tempData
// setTimeout(()=>{
// this.formData.smallPlaceTypeName = "0"
// },1000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment