diff --git a/src/routers/index.js b/src/routers/index.js index 04be41b..35bbedd 100644 --- a/src/routers/index.js +++ b/src/routers/index.js @@ -29,21 +29,21 @@ export const routes = [ { path: '/data-history', name: 'data-history', - meta: { title: '历史数据查看', icon: 'el-icon-data-line' }, + meta: { title: '历史数据查看', icon: 'el-icon-document-copy' }, component: () => import('@/views/data-history.vue'), }, - { - path: '/statistical-realtime', - name: 'statistical-realtime', - meta: { title: '实时数据统计' }, - component: () => import('@/views/statistical-realtime.vue'), - }, { path: '/statistical-history', name: 'statistical-history', - meta: { title: '历史数据统计' }, + meta: { title: '历史数据统计', icon: 'el-icon-data-line' }, component: () => import('@/views/statistical-history.vue'), }, + { + path: '/statistical-realtime', + name: 'statistical-realtime', + meta: { title: '实时数据统计', icon: 'el-icon-time' }, + component: () => import('@/views/statistical-realtime.vue'), + }, { path: '/months', name: 'months', diff --git a/src/views/statistical-history.vue b/src/views/statistical-history.vue index 3d73a60..7763a79 100644 --- a/src/views/statistical-history.vue +++ b/src/views/statistical-history.vue @@ -1,39 +1,42 @@