refactor(projects): 完善路由配置

This commit is contained in:
Soybean
2021-09-14 01:31:29 +08:00
parent 1dcdcdc485
commit ab77d58e46
24 changed files with 441 additions and 301 deletions

View File

@ -1,4 +1,13 @@
export { getToken, getUserInfo, getLoginModuleRegExp } from './auth';
export {
setToken,
getToken,
getUserInfo,
getLoginModuleRegExp,
getLoginRedirectUrl,
toLoginRedirectUrl,
toHomeByLocation
} from './auth';
export {
isNumber,
isString,
@ -14,3 +23,5 @@ export {
brightenColor,
darkenColor
} from './common';
export { setLocal, getLocal, setSession, getSession } from './storage';