From a2e5b78d3677cb0999c0b7faa6c93d97810370e2 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期一, 14 十月 2024 17:04:53 +0800 Subject: [PATCH] ll --- screen/src/router/index.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/screen/src/router/index.js b/screen/src/router/index.js index aee2fea..c56a2b5 100644 --- a/screen/src/router/index.js +++ b/screen/src/router/index.js @@ -2,12 +2,11 @@ import HomeView from '../views/PlatformCall.vue' const router = createRouter({ - history: createWebHashHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(), routes: [ { path: '/', - // name: 'EnergyConsum', - component: () => import('../views/EnergyConsum.vue') + component: () => import('../views/LogisticsEfficiency.vue') }, { path: '/PlatformCall', @@ -19,6 +18,16 @@ name: 'EnergyConsum', component: () => import('../views/EnergyConsum.vue') }, + { + path: '/LogisticsControl', + name: 'LogisticsControl', + component: () => import('../views/LogisticsEfficiency.vue') + }, + { + path: '/SecurityControl', + name: 'SecurityControl', + component: () => import('../views/SecurityControl.vue') + }, ] }) -- Gitblit v1.9.3