2
0

4 Commity 756746318c ... e7509bca64

Autor SHA1 Správa Dátum
  liyangbin e7509bca64 Merge branch 'feature/v3.0' into develop 4 mesiacov pred
  liyangbin 26d5be1e90 fix:隐藏paddle支付 4 mesiacov pred
  liyangbin 756746318c Merge branch 'feature/v3.0' into develop 4 mesiacov pred
  liyangbin 3420fb045b fix:隐藏paddle支付 4 mesiacov pred
2 zmenil súbory, kde vykonal 22 pridanie a 22 odobranie
  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) => {