mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
161d7e4e33
commit
4d77b1c401
@ -127,7 +127,7 @@ export function _refreshWechatOpenId(options, appId) {
|
||||
}).then(_data => {
|
||||
if (_data.code == 0) {
|
||||
let _date = new Date();
|
||||
uni.setStorageSync("refreshUserOpenId", _data.getTime());
|
||||
uni.setStorageSync("refreshUserOpenId", _date.getTime());
|
||||
window.location.href = _data.data.openUrl;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user