xiongzhu před 4 roky
rodič
revize
8dfe7be3a9
2 změnil soubory, kde provedl 8 přidání a 3 odebrání
  1. 7 2
      src/views/Submit.vue
  2. 1 1
      src/views/order/Detail.vue

+ 7 - 2
src/views/Submit.vue

@@ -63,7 +63,7 @@
             @cancel="(showPwdDialog = false), $toast.clear()"
             @confirm="pay"
         >
-            <div style="padding: 20px 0;">
+            <div style="padding: 20px 0">
                 <van-password-input
                     :value="tradeCode"
                     :focused="showKeyboard"
@@ -413,7 +413,12 @@ export default {
                             });
                     });
             } else if (this.payType === 'UNION') {
-                document.location.href = resolveUrl(this.$baseUrl, '/payOrder/v2/sandQuick?id=' + this.orderId);
+                document.location.href = resolveUrl(
+                    this.$baseUrl
+                        .replace('www.raex.vip', 'jump.raex.vip')
+                        .replace('test.raex.vip', 'testjump.raex.vip'),
+                    '/payOrder/v2/sandQuick?id=' + this.orderId
+                );
             } else if (this.payType === 'BALANCE') {
                 if (!this.tradeCode) {
                     this.$toast.clear();

+ 1 - 1
src/views/order/Detail.vue

@@ -162,7 +162,7 @@ export default {
             });
         }
     },
-    beforeRouteLeave() {
+    beforeUnmount() {
         if (this.timer) {
             clearInterval(this.timer);
             this.timer = null;