增加token获取逻辑

This commit is contained in:
BianLzhaoMin 2025-07-21 12:15:34 +08:00
parent fdb9985b4b
commit c1fd9bf53c
1 changed files with 3 additions and 2 deletions

View File

@ -172,8 +172,9 @@ const getTokenData = async () => {
// })
// })
// sessionStoragetoken
const token = sessionStorage.getItem('token')
// sessionStoragetoken
const token = window.parent.sessionStorage.getItem('token')
console.log(token, 'token')
if (token) {
userData.setUserInfo({
token: token,