Skip to content

Commit

Permalink
fix: query参数错误
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jul 30, 2024
1 parent e7f90b6 commit ad1c258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad1c258

Please sign in to comment.