diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 86cd238..7cbedc2 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -338,7 +338,7 @@ {{goods.goods_name}} - ¥{{goods.goods_price_min}} + ¥{{goods.goods_price_min?Number(goods.goods_price_min):goods.goods_price_min}} diff --git a/pages/goods/list.vue b/pages/goods/list.vue index d8f65e7..0980fc3 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -267,8 +267,9 @@ categoryId: app.options.categoryId || 0, goodsName: app.options.search || '', page: pageNo, - keywords: keywords + keywords: keywords.length>0?keywords.join(','):'' } + console.log(param) return new Promise((resolve, reject) => { GoodsApi.list(param) .then(result => {