zmc
2023-08-07 1e18f0bcee0358e13c0e2cb750d17cd7ef5bf4d6
src/router/index.ts
@@ -1,9 +1,8 @@
import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  // history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(),
  routes: [
    {
      path: '/layout',
@@ -37,23 +36,15 @@
        component: () => import('@/views/ErrorPage.vue')
       },
       {
        path: '/about',
        name: 'about',
        // route level code-splitting
        // this generates a separate chunk (About.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import('../views/AboutView.vue')
      },
      {
        path:"/graph",
        name:'fst',
        path:"/tsdata",
        name:'fst1',
        component: () => import('@/test/TestSelect.vue')
  
       },
      {
        path:"/tdata",
        name:'test1',
        component: () => import('@/test/TestDrawer.vue')
        component: () => import('@/test/TestNoData.vue')
       },
       {
@@ -120,7 +111,16 @@
        component: () => import('@/views/analysis/graph/DayAverage.vue')
       },
       {
        path: '/getdata',
        component: () => import('@/views/getdata/GetData.vue')
      },
      {
        path: '/tte',
        component: () => import('@/views/getdata/TestZm.vue')
      },
      ],
    },
@@ -139,8 +139,8 @@
    {
      path: '/sfc',
      component: () => import('@/sfc/MainTest.vue')
    },
    }
  ]
})