perf: change token key

This commit is contained in:
Pan 2019-02-27 14:13:20 +08:00
parent e69c2c8afc
commit d81bc1ad4a

View File

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