Browse Source

perf: change token key

Pan 6 years ago
parent
commit
d81bc1ad4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/auth.js

+ 1 - 1
src/utils/auth.js

@@ -1,6 +1,6 @@
1 1
 import Cookies from 'js-cookie'
2 2
 
3
-const TokenKey = 'Admin-Token'
3
+const TokenKey = 'vue_admin_template_token'
4 4
 
5 5
 export function getToken() {
6 6
   return Cookies.get(TokenKey)