mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-08-11 08:59:46 +08:00
5 lines
159 B
TypeScript
5 lines
159 B
TypeScript
import { getCache } from '@/utils/catch';
|
|
import { TOKEN_KEY } from '@/enums/cacheEnum';
|
|
|
|
export const TOKEN = () => getCache<string>(TOKEN_KEY) || undefined;
|