|
@@ -98,12 +98,12 @@
|
|
|
path: decodeURIComponent(redirect)
|
|
|
});
|
|
|
} else {
|
|
|
- //window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
|
|
|
+ window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
//如果存在openid,把链接中code字符去除
|
|
|
- ///window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
|
|
|
+ window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
|
|
|
}
|
|
|
}
|
|
|
},
|