diff --git a/src/router/index.js b/src/router/index.js index ddc752f..fd2dd40 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -60,7 +60,7 @@ export const constantRouterMap = [ icon: 'chart' }, children: [ - { path: 'index', component: () => import('@/views/counter/index'), name: 'counter', meta: { title: 'counter' }}, + { path: 'index', component: () => import('@/views/counter/index'), name: 'statistic', meta: { title: 'statistic' }}, { path: 'device', component: () => import('@/views/counter/device'), name: 'device', meta: { title: 'device' }}, { path: 'count', component: () => import('@/views/counter/count'), name: 'count', meta: { title: 'count' }} ] diff --git a/src/views/counter/count.vue b/src/views/counter/count.vue index e69de29..bb7b3e6 100644 --- a/src/views/counter/count.vue +++ b/src/views/counter/count.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/views/counter/device.vue b/src/views/counter/device.vue index 3596db4..9832185 100644 --- a/src/views/counter/device.vue +++ b/src/views/counter/device.vue @@ -1,6 +1,8 @@ diff --git a/src/views/counter/index.vue b/src/views/counter/index.vue index caccc6b..0d7259c 100644 --- a/src/views/counter/index.vue +++ b/src/views/counter/index.vue @@ -1,6 +1,8 @@