ll
liukangdong
2024-10-14 a2e5b78d3677cb0999c0b7faa6c93d97810370e2
screen/src/router/index.js
@@ -1,24 +1,33 @@
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
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: '/home',
      name: 'home',
      component: () => import('../views/HomeView.vue')
      path: '/PlatformCall',
      name: 'PlatformCall',
      component: () => import('../views/PlatformCall.vue')
    },
    {
      path: '/EnergyConsum',
      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')
    },
  ]
})