@@ -628,6 +628,7 @@
async searchRate(e) {
const that = this;
let res = await that.$api(`/goodsRate`, `GET`, {
+ limit: 1,
goods: e.goods._id
})
if (res.errcode == '0') that.$set(that, `evaluate_num`, res.total);
@@ -367,12 +367,8 @@
'GET', {}, 'group');
if (arr.errcode == '0') {
if (arr.data == true) {
- if (status == '3') {
- that.Receip(params)
- } else {
- that.orderCancel(params)
- console.log(params);
- }
+ if (status == '3') that.Receip(params)
+ else that.orderCancel(params)
} else {
uni.showToast({
title: '该商品时间超时不允许退款或退货',