Kaynağa Gözat

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

1004749546@qq.com 4 yıl önce
ebeveyn
işleme
b36dabab6c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      pages/getOrder/getOrder.vue

+ 2 - 2
pages/getOrder/getOrder.vue

@@ -270,12 +270,12 @@
 					if (res.status == 200) {
 						this.couponList = res.data
 						this.checkedCoupon = res.data.length ? this.findCouponMax() : null
-						// 计算合计
-						this.getFinalAmount()
 					} else {
 						this.couponList = []
 						this.checkedCoupon = null
 					}
+					// 计算合计
+					this.getFinalAmount()
 				})
 			},
 			// 查找优惠卷中优惠金额最大得