mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
优化自登陆bug
This commit is contained in:
parent
f8d25fd69f
commit
917cf312a0
@ -127,7 +127,7 @@ export function _refreshWechatOpenId(options, appId) {
|
|||||||
}).then(_data => {
|
}).then(_data => {
|
||||||
if (_data.code == 0) {
|
if (_data.code == 0) {
|
||||||
let _date = new Date();
|
let _date = new Date();
|
||||||
uni.setStorageSync("refreshUserOpenId", _data.getTime());
|
uni.setStorageSync("refreshUserOpenId", _date.getTime());
|
||||||
window.location.href = _data.data.openUrl;
|
window.location.href = _data.data.openUrl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user