refactor(projects): 路由组件导入拆分

This commit is contained in:
Soybean
2021-10-19 18:51:36 +08:00
parent 7654b2adf3
commit 3edf46eb52
24 changed files with 266 additions and 194 deletions

View File

@@ -0,0 +1,9 @@
import { RouteNameMap, setCacheName } from '../helpers';
import ComponentMap from '@/views/component/map/index.vue';
import ComponentVideo from '@/views/component/video/index.vue';
setCacheName(ComponentMap, RouteNameMap.get('component_map'));
setCacheName(ComponentVideo, RouteNameMap.get('component_video'));
export { ComponentMap, ComponentVideo };