修改token名
This commit is contained in:
parent
209d318f09
commit
1eb51714a4
@ -1,6 +1,6 @@
|
||||
import Cookies from 'js-cookie'
|
||||
|
||||
const TokenKey = 'vue_admin_template_token'
|
||||
const TokenKey = 'hr_token' // 设定一个独一无二的key
|
||||
|
||||
export function getToken() {
|
||||
return Cookies.get(TokenKey)
|
||||
|
Loading…
Reference in New Issue
Block a user