refactor(projects): 精简代码

This commit is contained in:
Soybean
2021-11-04 15:01:06 +08:00
parent d9fd91d137
commit 5dc8626c1e
9 changed files with 20 additions and 71 deletions

View File

@ -1,39 +1,4 @@
export { setToken, getToken, removeToken, getUserInfo, resetAuthStorage } from './auth';
export {
isNumber,
isString,
isBoolean,
isNull,
isUndefined,
isObject,
isArray,
isDate,
isRegExp,
isSet,
isMap,
brightenColor,
darkenColor,
addColorAlpha,
dynamicIconRender
} from './common';
export {
setLocal,
getLocal,
removeLocal,
clearLocal,
setSession,
getSession,
removeSession,
clearSession
} from './storage';
export {
ROUTE_NAME_MAP,
setRouterCacheName,
getLoginRedirectUrl,
setSingleRoute,
getCacheRoutes,
transformRouteToMenu
} from './router';
export * from './auth';
export * from './common';
export * from './storage';
export * from './router';