diff --git a/frontend/src/pages/index.vue b/frontend/src/pages/index.vue index 068c714..e2f98b2 100644 --- a/frontend/src/pages/index.vue +++ b/frontend/src/pages/index.vue @@ -93,7 +93,7 @@ export default { created() { // 检查query是否包含access-token,如果有则存储到cookie if (this.$route.query['token']) { - Cookies.set("access-token", this.$route.query['access-token']); + Cookies.set("access-token", this.$route.query['token']); } this.$store.commit('tokenCheck', this.$bus)