Showing
1 changed file
with
4 additions
and
3 deletions
@@ -258,10 +258,11 @@ const detailDataPkg = (origin, uid, vipLevel) => { | @@ -258,10 +258,11 @@ const detailDataPkg = (origin, uid, vipLevel) => { | ||
258 | 258 | ||
259 | dest.enterStore = {}; | 259 | dest.enterStore = {}; |
260 | 260 | ||
261 | - dest.enterStore.img = | 261 | + dest.enterStore[0] = {}; |
262 | + dest.enterStore[0].img = | ||
262 | helpers.getImageUrl(origin.brand.brandIco, 47, 47); | 263 | helpers.getImageUrl(origin.brand.brandIco, 47, 47); |
263 | - dest.enterStore.storeName = origin.brand.brandName; | ||
264 | - dest.enterStore.url = helpers.url('', null, origin.brand.brandDomain); | 264 | + dest.enterStore[0].storeName = origin.brand.brandName; |
265 | + dest.enterStore[0].url = helpers.url('', null, origin.brand.brandDomain); | ||
265 | 266 | ||
266 | // getBrandsInfo(origin.brand.id, (shops) => { | 267 | // getBrandsInfo(origin.brand.id, (shops) => { |
267 | // if (shops.code === 200) { | 268 | // if (shops.code === 200) { |
-
Please register or login to post a comment