diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index da884dd..412714f 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -59,7 +59,7 @@ const menuItems = [ { path: '/dashboard/output', meta: { title: '产出监控大屏', icon: 'output' } }, { path: '/dashboard/stop-analysis', meta: { title: '停机分析大屏', icon: 'stop' } }, { path: '/dashboard/acid-rolling', meta: { title: '酸轧数据大屏', icon: 'example' } }, - { path: '/dashboard/warehouse-overview', meta: { title: '库区总览大屏', icon: 'example' } } + { path: '/warehouse-overview', meta: { title: '库区总览大屏', icon: 'example' } } ] diff --git a/src/router/index.js b/src/router/index.js index 9c918b1..1197895 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,14 +53,14 @@ export const constantRoutes = [ name: 'AcidRolling', component: () => import('@/views/screens/acid-rolling/index.vue'), meta: { title: '酸轧数据大屏', icon: 'example' } - }, - { - path: 'warehouse-overview', - name: 'WarehouseOverview', - component: () => import('@/views/screens/warehouse-overview/index.vue'), - meta: { title: '库区总览大屏', icon: 'warehouse' } } ] + }, + { + path: '/warehouse-overview', + name: 'WarehouseOverview', + component: () => import('@/views/screens/warehouse-overview/index.vue'), + meta: { title: '库区总览大屏' } } ] diff --git a/src/views/screens/warehouse-overview/index.vue b/src/views/screens/warehouse-overview/index.vue index 068a683..4afae7b 100644 --- a/src/views/screens/warehouse-overview/index.vue +++ b/src/views/screens/warehouse-overview/index.vue @@ -1,5 +1,6 @@