mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 14:20:21 +08:00
refactor(projects): 路由组件导入拆分
This commit is contained in:
10
src/router/components/exception.ts
Normal file
10
src/router/components/exception.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { RouteNameMap, setCacheName } from '../helpers';
|
||||
import Exception403 from '@/views/system/exception/403.vue';
|
||||
import Exception404 from '@/views/system/exception/404.vue';
|
||||
import Exception500 from '@/views/system/exception/500.vue';
|
||||
|
||||
setCacheName(Exception404, RouteNameMap.get('exception_404'));
|
||||
setCacheName(Exception403, RouteNameMap.get('exception_403'));
|
||||
setCacheName(Exception500, RouteNameMap.get('exception_500'));
|
||||
|
||||
export { Exception403, Exception404, Exception500 };
|
||||
Reference in New Issue
Block a user