Blame view

src/utils/auth/index.ts 182 Bytes
陈文彬 authored
1
2
3
import { userStore } from '/@/store/modules/user';

/**
vben authored
4
5
 * @description:  Get token
 * @return jwt token
陈文彬 authored
6
7
8
9
 */
export function getToken(): string {
  return userStore.getTokenState;
}