Procházet zdrojové kódy

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

1004749546@qq.com před 4 roky
rodič
revize
c67b50521d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {