2 Commits 3420fb045b ... 26d5be1e90

Autor SHA1 Mensaje Fecha
  liyangbin 26d5be1e90 fix:隐藏paddle支付 hace 4 meses
  liyangbin 3420fb045b fix:隐藏paddle支付 hace 4 meses
Se han modificado 2 ficheros con 22 adiciones y 22 borrados
  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) => {