Browse Source

修复返回问题

lex 2 years ago
parent
commit
c2933323e4
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/student/music-group/pre-apply/order-detail.tsx

+ 5 - 5
src/student/music-group/pre-apply/order-detail.tsx

@@ -179,11 +179,11 @@ export default defineComponent({
             // 默认关闭支付二维码弹窗
             state.showQrcode = false
             clearInterval(orderTimer)
-            window.location.replace(
-              window.location.origin +
-                '/orchestra-student/#/payment-result?orderNo=' +
-                state.orderNo
-            )
+            setTimeout(() => {
+              window.location.replace(
+                window.location.origin + '/#/payment-result?orderNo=' + state.orderNo
+              )
+            }, 100)
           }
         } catch {
           //