|
@@ -113,7 +113,7 @@ function tryAutoLogin() {
|
|
|
|
|
|
function bindIfNessary() {
|
|
|
const href = window.location.href;
|
|
|
- const requestUrl = isCorpWX.value ? '/wxcorp/bindCorpWeiXin' : isWX ? '/wechat/bindWeiXin' : '';
|
|
|
+ const requestUrl = isCorpWX.value ? '/wxcorp/bindCorpWeiXin' : isWX.value ? '/wechat/bindWeiXin' : '';
|
|
|
if (requestUrl.length > 0) {
|
|
|
//url包括 com/?code 证明为从微信跳转回来的
|
|
|
if (href.includes("com/?code")) {
|