张文飞 пре 3 година
родитељ
комит
bda41687b3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      App.vue

+ 1 - 1
App.vue

@@ -4,7 +4,7 @@
 		onLaunch: function() {
 			let href = location.href;
 			let code  = this.getQueryString('code');
-			if(!code&&false){
+			if(!code){
 				href = encodeURIComponent(href.split('#')[0].substring(0,href.split('#')[0].length-1));
 				let url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+config.appid+"&redirect_uri="+href+"&response_type=code&scope=snsapi_base&state=123&connect_redirect=1#wechat_redirect"
 				window.location.href = url;