diff --git a/src/router/index.js b/src/router/index.js index ca48feb8..757e5ec7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -68,7 +68,7 @@ export const constantRoutes = [ children: [ { path: 'index', - component: () => import('@/views/index'), + component: () => import('@/views/index_v1'), name: 'Index', meta: { title: '首页', icon: 'dashboard', affix: true } } diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue index 1a1081fc..04943811 100644 --- a/src/views/dashboard/PanelGroup.vue +++ b/src/views/dashboard/PanelGroup.vue @@ -1,57 +1,19 @@ @@ -63,9 +25,7 @@ export default { CountTo }, methods: { - handleSetLineChartData(type) { - this.$emit('handleSetLineChartData', type) - } + } } @@ -73,13 +33,17 @@ export default { diff --git a/src/views/index_v1.vue b/src/views/index_v1.vue index 405cb9e7..dc7b6c01 100644 --- a/src/views/index_v1.vue +++ b/src/views/index_v1.vue @@ -1,7 +1,7 @@