xiongzhu 4 سال پیش
والد
کامیت
8b8d2ed332
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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(() => {
         setTimeout(() => {
             let isIOS = /iphone|ipad/i.test(navigator.userAgent);
             let isIOS = /iphone|ipad/i.test(navigator.userAgent);
             http.http
             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 => {
                 .then(res => {
                     wx.config({
                     wx.config({
                         debug: false,
                         debug: false,