|
@@ -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
|