Files
soybean-admin/src/utils/index.ts

34 lines
579 B
TypeScript

export { setToken, getToken, removeToken, getUserInfo, resetAuthStorage, getLoginModuleRegExp } from './auth';
export {
isNumber,
isString,
isBoolean,
isNull,
isUndefined,
isObject,
isArray,
isDate,
isRegExp,
isSet,
isMap,
brightenColor,
shallowColor,
darkenColor,
addColorAlpha,
dynamicIconRender
} from './common';
export {
setLocal,
getLocal,
removeLocal,
clearLocal,
setSession,
getSession,
removeSession,
clearSession
} from './storage';
export { getRouteNameMap, setRouterCacheName, getLoginRedirectUrl } from './router';