tt-activity token问题
This commit is contained in:
parent
daf1e9e363
commit
3a221bbd85
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue