husq
2023-09-27 2c2bc8614c8ea0ce386369eb4924da1e6aa052d1
src/router/index.ts
@@ -1,4 +1,4 @@
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHistory, RouteRecordRaw, createWebHashHistory } from 'vue-router'
import { ERouterName } from '/@/types/index'
import CreatePlan from '/@/components/task/CreatePlan.vue'
import WaylinePanel from '/@/pages/page-web/projects/wayline.vue'
@@ -11,7 +11,7 @@
    path: '/',
    redirect: '/' + ERouterName.LOGIN
  },
  // 首页 登陆页面
  // // 首页 登陆页面
  {
    path: '/' + ERouterName.LOGIN,
    name: ERouterName.LOGIN,
@@ -27,11 +27,6 @@
        path: '/' + ERouterName.MEMBERS,
        name: ERouterName.MEMBERS,
        component: () => import('/@/pages/page-web/projects/members.vue')
      },
      {
        path: '/' + ERouterName.DEVICES,
        name: ERouterName.DEVICES,
        component: () => import('/@/pages/page-web/projects/devices.vue')
      },
      // 项目列表
      {
@@ -118,7 +113,13 @@
                  }
                ]
              }
              },
              {
                path: '/' + ERouterName.IMPLEMENT,
                name: ERouterName.IMPLEMENT,
                component: () => import('/@/pages/page-web/projects/implement.vue')
              },
            ],
            meta: {
              header: false
@@ -158,7 +159,7 @@
]
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes
})