xiongzhu 4 лет назад
Родитель
Сommit
5fc6571111
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/main/nine-space/src/views/Submit.vue

+ 3 - 1
src/main/nine-space/src/views/Submit.vue

@@ -212,7 +212,9 @@ export default {
                         this.$nextTick(() => {
                             if (this.payType === 'ALIPAY') {
                                 if (this.inWeixin) {
-                                    location.href = resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id);
+                                    document.location.replace(
+                                        resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id)
+                                    );
                                 } else {
                                     this.$http
                                         .get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)