提交一下修改

This commit is contained in:
daihh
2023-07-19 22:05:13 +08:00
parent 8ab7078357
commit a6054bb863
3 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ const TokenKey = 'token'
export function getToken() {
return Cookies.get(TokenKey)
}
export function setToken(token) {
return Cookies.set(TokenKey, token)
}