tangning 3 months ago
parent
commit
d0ea71eb1d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/pc/index.vue

+ 2 - 2
src/views/pc/index.vue

@@ -74,14 +74,14 @@ function getDetial() {
   getOrderInfo(orderSn.value).then((res) => {
     orderDetal.value = res
     if (isEur) {
-      selectedPayType.value = orderDetal.value.payType == 5 ? 'paypal' : 'stripe'
+      selectedPayType.value = orderDetal.value.payType == 6 ? 'stripe' : 'paypal'
     }
     getCode()
   })
 }
 getDetial()
 function handlePay() {
-  if (orderDetal.value.payType == 5 || orderDetal.value.payType == 6) {
+  if (isEur) {
     //打开一个不被拦截的新窗口
     // var win = window.open();
     // win.document.body.innerHTML="loading......";