tt-activity token问题

This commit is contained in:
lf 2024-06-21 15:22:14 +08:00
parent daf1e9e363
commit 3a221bbd85
1 changed files with 5 additions and 1 deletions

View File

@ -199,7 +199,11 @@ export default {
},
onLoad(options) {
// eslint-disable-next-line camelcase
const { activity_code } = this.getUrlParams()
const { activity_code, token } = this.getUrlParams()
const useStore = useUserStore()
if (token) {
useStore.setUserInfo({ token })
}
// eslint-disable-next-line camelcase
this.activity_code = activity_code || 'TT1234'
// const token = 'eb1272c9c7e5f5032e75aa76222f63ae91'