mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 优化路由声明,添加路由模块导入,规范路相关文件夹
This commit is contained in:
7
src/router/setup/cache.ts
Normal file
7
src/router/setup/cache.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { getCacheRoutes } from '@/utils';
|
||||
import { routes } from '../routes';
|
||||
|
||||
/** 缓存的路由对应vue页面的名称 */
|
||||
const cacheRoutes = getCacheRoutes(routes);
|
||||
|
||||
export default cacheRoutes;
|
Reference in New Issue
Block a user