Explorar el Código

优惠券选中bug修改

licc hace 4 semanas
padre
commit
3416c47006
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/order/console.vue

+ 1 - 1
src/views/order/console.vue

@@ -570,7 +570,7 @@ const checkout = () => {
 }
 // 添加优惠券点击处理方法
 const handleCouponClick = (coupon: any) => {
-    if (orderData.sumPriceSum < coupon.consumeScore / 100) {
+    if (orderData.sumPriceSum <= coupon.consumeScore / 100) {
         return
     }
     if (params.couponId === coupon.ticketRecordId) {