k94314517
2024-10-10 362ec4c6c00747fb869b97ad3f0f3ce12b3e47aa
screen/src/router/index.js
@@ -1,14 +1,17 @@
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import EnergyConsum from '../views/EnergyConsum.vue'
import HomeView from '../views/PlatformCall.vue'
const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
      component: () => import('../views/PlatformCall.vue')
    },
    {
      path: '/PlatformCall',
      name: 'PlatformCall',
      component: () => import('../views/PlatformCall.vue')
    },
    {
      path: '/EnergyConsum',