edu/uniapp/src/utils/auth.ts

7 lines
139 B
TypeScript
Raw Normal View History

2022-08-26 09:52:43 +00:00
import { TOKEN_KEY } from '@/enums/cacheEnums'
import cache from './cache'
export function getToken() {
return cache.get(TOKEN_KEY)
}