Skip to content

Commit

Permalink
feat: 删除url提供token的机制
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jul 30, 2024
1 parent ad1c258 commit f3c1e8e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ export default {
},
created() {
// 检查query是否包含access-token,如果有则存储到cookie
if (this.$route.query['token']) {
Cookies.set("access-token", this.$route.query['token']);
}
this.$store.commit('tokenCheck', this.$bus)
this.$store.commit('initMetadata', 'banner')
Expand Down

0 comments on commit f3c1e8e

Please sign in to comment.