更新状态
This commit is contained in:
@@ -35,8 +35,7 @@ const authCode = ref('')
|
||||
|
||||
// 页面未挂载
|
||||
onBeforeMount(() => {
|
||||
console.log("用户活动信息1:", store.state.userAccount);
|
||||
console.log("授权链接:",window.location.href);
|
||||
console.log("link:",window.location.href);
|
||||
|
||||
// 微信环境授权
|
||||
// if (h5plugin.isWX()) {
|
||||
@@ -49,9 +48,18 @@ onBeforeMount(() => {
|
||||
// } else {
|
||||
// getCode()
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// let token = h5plugin.getQueryString('token')
|
||||
// 更新openid
|
||||
store.commit({ type: "updateToken", token: h5plugin.getQueryString('token') });
|
||||
store.commit({ type: "updateCardId", cardId: h5plugin.getQueryString('cardId') });
|
||||
store.commit({ type: "updateNkh", cardId: h5plugin.getQueryString('nkh') });
|
||||
|
||||
|
||||
console.log("用户活动信息:", store.state.userAccount);
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user