diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue index 45360e65..b54d65a8 100644 --- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue +++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue @@ -14,8 +14,8 @@
- - {{skuDetail.grade || 100}}% + + {{skuDetail.grade}}%

好评率

@@ -206,6 +206,9 @@ export default { }); window.addEventListener('scroll', this.handleScroll) this.getList(); + if (this.skuDetail.grade === null || this.skuDetail.grade === undefined) { + this.skuDetail.grade = 100 + } } }; diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index b2b6bfdc..23784c11 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -17,10 +17,10 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: 'http://192.168.0.100:8890', - // buyer: 'http://192.168.0.100:8888', - // seller: 'http://192.168.0.100:8889', - // manager: 'http://192.168.0.100:8887' + // common: 'http://192.168.0.101:8890', + // buyer: 'http://192.168.0.101:8888', + // seller: 'http://192.168.0.101:8889', + // manager: 'http://192.168.0.101:8887' common: 'https://common-api.pickmall.cn', buyer: 'https://buyer-api.pickmall.cn', diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index cdf934a9..6083adc7 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -6,7 +6,7 @@