瀏覽代碼

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
bug修改

1004749546@qq.com 4 年之前
父節點
當前提交
c67b50521d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/getOrder/getOrder.vue

+ 1 - 1
pages/getOrder/getOrder.vue

@@ -269,7 +269,7 @@
 					uni.hideLoading()
 					if (res.status == 200) {
 						this.couponList = res.data
-						this.checkedCoupon = this.findCouponMax()
+						this.checkedCoupon = res.data.length ? this.findCouponMax() : null
 						// 计算合计
 						this.getFinalAmount()
 					} else {