From ad1c258563f55b21f7d842d1165dcdd33a3f0b8c Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Tue, 30 Jul 2024 17:48:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20query=E5=8F=82=E6=95=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)