2022-06-12 12:51:52 +08:00

5 lines
159 B
TypeScript

import { getCache } from '@/utils/catch';
import { TOKEN_KEY } from '@/enums/cacheEnum';
export const TOKEN = () => getCache<string>(TOKEN_KEY) || undefined;