xiongzhu 4 vuotta sitten
vanhempi
commit
8b8d2ed332
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/main/nine-space/src/router/index.js

+ 1 - 1
src/main/nine-space/src/router/index.js

@@ -10,7 +10,7 @@ function jsapiSign() {
         setTimeout(() => {
             let isIOS = /iphone|ipad/i.test(navigator.userAgent);
             http.http
-                .get('/wx/jsapiSign', { url: isIOS ? store.state.firstUrl : location.origin + location.href })
+                .get('/wx/jsapiSign', { url: isIOS ? store.state.firstUrl : location.origin + location.pathname })
                 .then(res => {
                     wx.config({
                         debug: false,