Explorar el Código

提交兼容ios

张文飞 hace 3 años
padre
commit
0c88b5dc97
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      App.vue

+ 1 - 1
App.vue

@@ -16,7 +16,7 @@
 				let url =  href.split('#')[0];
 				url = encodeURIComponent(url);
 				url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+config.appid+"&redirect_uri="+url+"&response_type=code&scope=snsapi_userinfo&state=123&connect_redirect=1#wechat_redirect"
-				window.location.href = url;
+				window.location.replace(url);
 			}
 			this.globalData.BASE_URL = config.BASE_URL;
 			let shareToken  = this.getQueryString('shareToken');