Jelajahi Sumber

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

1004749546@qq.com 4 tahun lalu
induk
melakukan
c67b50521d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 {