fix(avatar): clear stale checkout context and closed orders

This commit is contained in:
stefanfeng
2026-10-16 15:03:03 +08:00
parent b1bf203018
commit 09aebea7d1
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -16,6 +16,7 @@ app.use(pinia)
// —— 混合架构:在挂载前注入 uniapp 壳传入的认证与会会资料 ——
const params = getLaunchParams()
if (params.evn !== undefined) sessionStorage.setItem('hh_launch_evn', params.evn)
else if (params.token) sessionStorage.removeItem('hh_launch_evn')
const avatarStore = useAvatarStore(pinia)
const userStore = useUserStore(pinia)