diff --git a/src/router/modules/charts.ts b/src/router/modules/charts.ts index 2c98487..7fe0065 100644 --- a/src/router/modules/charts.ts +++ b/src/router/modules/charts.ts @@ -12,18 +12,18 @@ const chartsRouter = { icon: 'chart' }, children: [ - { - path: 'keyboard', - component: () => import('@/views/charts/keyboard.vue'), - name: 'KeyboardChart', - meta: { title: 'Keyboard Chart', noCache: true } - }, { path: 'line', component: () => import('@/views/charts/line.vue'), - name: 'KeyboardChart', + name: 'line', meta: { title: '折现图', noCache: true } }, + { + path: 'other', + component: () => import('@/views/charts/index.vue'), + name: 'charts-other', + meta: { title: '各种图标', noCache: true } + }, ] } diff --git a/src/views/charts/components/line.vue b/src/views/charts/components/line.vue new file mode 100644 index 0000000..6584235 --- /dev/null +++ b/src/views/charts/components/line.vue @@ -0,0 +1,66 @@ + + diff --git a/src/views/charts/index.vue b/src/views/charts/index.vue index e69de29..a27eb4b 100644 --- a/src/views/charts/index.vue +++ b/src/views/charts/index.vue @@ -0,0 +1,73 @@ + + + + diff --git a/src/views/charts/keyboard.vue b/src/views/charts/keyboard.vue deleted file mode 100644 index e69de29..0000000