2 Commitit 3420fb045b ... 26d5be1e90

Tekijä SHA1 Viesti Päivämäärä
  liyangbin 26d5be1e90 fix:隐藏paddle支付 4 kuukautta sitten
  liyangbin 3420fb045b fix:隐藏paddle支付 4 kuukautta sitten
2 muutettua tiedostoa jossa 22 lisäystä ja 22 poistoa
  1. 11 11
      src/views/Product/Custom.vue
  2. 11 11
      src/views/Product/ID.vue

+ 11 - 11
src/views/Product/Custom.vue

@@ -130,17 +130,17 @@ let allShoppingNum = computed(() => {
   })
   return addNum
 })
-watch(allShoppingNum, (val) => {
-  if (val > 100 && paddleShow.value) {
-    paddleShow.value = false
-    if (payMethod.value === 'paddle') {
-      payMethod.value = 'paypal'
-    }
-  }
-  if (val <= 100 && !paddleShow.value) {
-    paddleShow.value = true
-  }
-})
+// watch(allShoppingNum, (val) => {
+//   if (val > 100 && paddleShow.value) {
+//     paddleShow.value = false
+//     if (payMethod.value === 'paddle') {
+//       payMethod.value = 'paypal'
+//     }
+//   }
+//   if (val <= 100 && !paddleShow.value) {
+//     paddleShow.value = true
+//   }
+// })
 const getShopping = () => {
   get(
     baseUrl + '/api/shopping-cart?vpp_member_id=' + useInfo.value.id

+ 11 - 11
src/views/Product/ID.vue

@@ -111,17 +111,17 @@ let useTeamDiscount = computed(() => {
   }
 })
 
-watch(productNum, () => {
-  if (productNum.value > 100 && paddleShow.value) {
-    paddleShow.value = false
-    if (payMethod.value === 'paddle') {
-      payMethod.value = 'paypal'
-    }
-  }
-  if (productNum.value <= 100 && !paddleShow.value) {
-    paddleShow.value = true
-  }
-})
+// watch(productNum, () => {
+//   if (productNum.value > 100 && paddleShow.value) {
+//     paddleShow.value = false
+//     if (payMethod.value === 'paddle') {
+//       payMethod.value = 'paypal'
+//     }
+//   }
+//   if (productNum.value <= 100 && !paddleShow.value) {
+//     paddleShow.value = true
+//   }
+// })
 
 // 查询支付状态
 const getState = (trade_no, payMethod) => {