@@ -57,7 +57,8 @@ export default { | |||
console.log("微信"); | |||
let url = window.location.href.split("?code=")[1]; | |||
console.log("获取授权code的url", url); | |||
if ( | |||
this.getWxCode(); | |||
/* if ( | |||
isNotNull(url) || | |||
window.location.href.indexOf("code") > -1 | |||
) { | |||
@@ -69,7 +70,7 @@ export default { | |||
} | |||
} else { | |||
this.getWxCode(); | |||
} | |||
} */ | |||
} else { | |||
this.getWxCode(); | |||
console.log("当前浏览器内核并非支付宝或者微信"); | |||