diff --git a/src/pages/tt-activity/index.vue b/src/pages/tt-activity/index.vue index baa7422..a8b02f8 100644 --- a/src/pages/tt-activity/index.vue +++ b/src/pages/tt-activity/index.vue @@ -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'