diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 2c65909..57210df 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -291,6 +291,8 @@ let sodata ={goods_islicode:app.gislicode} GoodsApi.soglist(sodata).then(res=>{ app.goods = res.data.data[0] + app.goods.contractual_start_time = app.goods.contractual_start_time.split(' ')[0] + app.goods.contractualtime_end_time = app.goods.contractualtime_end_time.split(' ')[0] app.new_total = res.data.total let imgitem = {"imgurl":app.goods.goods_images} app.gdimgs.push(imgitem)