feat: 完成新开页的设计

This commit is contained in:
MTrun
2021-12-21 14:57:31 +08:00
parent 3ee85b7c7b
commit 0881225fda
14 changed files with 262 additions and 44 deletions
+20
View File
@@ -0,0 +1,20 @@
import { RouteRecordRaw } from 'vue-router'
import { ChartEnum } from '@/enums/pageEnum'
// 引入路径
const importPath = {
'ChartEnum.CHART_HOME_NAME': () => import('@/views/chart/index.vue')
}
const chartRoutes: RouteRecordRaw = {
path: ChartEnum.CHART_HOME,
name: ChartEnum.CHART_HOME_NAME,
component: importPath['ChartEnum.CHART_HOME_NAME'],
meta: {
title: '图表',
isRoot: true
}
}
export default chartRoutes