tangning 4 months ago
parent
commit
cb4e55da70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/pc/index.vue

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

@@ -93,6 +93,7 @@ function handlePay() {
   }
 }
 async function getCode() {
+  inverRequest()
   if (orderDetal.value.payType == 5 || orderDetal.value.payType == 6) return
   qrCodeUrl.value = ''
   openPay({
@@ -102,7 +103,6 @@ async function getCode() {
     openId: ''
   }).then((res) => {
     qrCodeUrl.value = res.qrCodeUrl || res.redirect
-    inverRequest()
   })
 }
 </script>