|
@@ -130,17 +130,17 @@ let allShoppingNum = computed(() => {
|
|
})
|
|
})
|
|
return addNum
|
|
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 = () => {
|
|
const getShopping = () => {
|
|
get(
|
|
get(
|
|
baseUrl + '/api/shopping-cart?vpp_member_id=' + useInfo.value.id
|
|
baseUrl + '/api/shopping-cart?vpp_member_id=' + useInfo.value.id
|