|
@@ -16,7 +16,7 @@
|
|
let url = href.split('#')[0];
|
|
let url = href.split('#')[0];
|
|
url = encodeURIComponent(url);
|
|
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"
|
|
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;
|
|
this.globalData.BASE_URL = config.BASE_URL;
|
|
let shareToken = this.getQueryString('shareToken');
|
|
let shareToken = this.getQueryString('shareToken');
|