guanchunjie před 3 roky
rodič
revize
49642c378c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/components/common/Payment.vue

+ 2 - 1
src/components/common/Payment.vue

@@ -98,9 +98,10 @@ export default {
         bank_transaction_sn: "", //银行交易流水号,由易支付成功返回
       })
         .then((res) => {
-          this.loading = false;
+          //this.loading = false;
           this.judgePayResult(true);
           // 调取支付接口
+          window.location.href = res.pay_page_url;
         })
         .catch((error) => {
           this.loading = false;