Showing
2 changed files
with
7 additions
and
4 deletions
@@ -307,14 +307,18 @@ const _getHotGoodsFloorData = (args, type) => { | @@ -307,14 +307,18 @@ const _getHotGoodsFloorData = (args, type) => { | ||
307 | * @return {Object} | 307 | * @return {Object} |
308 | */ | 308 | */ |
309 | const _getJacketData = (arg) => { | 309 | const _getJacketData = (arg) => { |
310 | - | ||
311 | - return { | 310 | + let resData = { |
312 | tpltopic: { | 311 | tpltopic: { |
313 | - title: arg.title, | ||
314 | bigPic: arg.big_image[0], | 312 | bigPic: arg.big_image[0], |
315 | types: arg.list | 313 | types: arg.list |
316 | } | 314 | } |
317 | }; | 315 | }; |
316 | + | ||
317 | + if(arg.title.title !== '') { | ||
318 | + resData.tpltopic.title = arg.title; | ||
319 | + } | ||
320 | + | ||
321 | + return resData; | ||
318 | }; | 322 | }; |
319 | 323 | ||
320 | /** | 324 | /** |
-
Please register or login to post a comment