修改token名

This commit is contained in:
jqtmviyu@gmail.com 2021-01-13 17:16:59 +08:00
parent 209d318f09
commit 1eb51714a4

View File

@ -1,6 +1,6 @@
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
const TokenKey = 'vue_admin_template_token' const TokenKey = 'hr_token' // 设定一个独一无二的key
export function getToken() { export function getToken() {
return Cookies.get(TokenKey) return Cookies.get(TokenKey)