From 54849757852f6ab40eb17afbd03d1d839b60a38d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 13 Nov 2023 17:09:15 +0800
Subject: [PATCH] 重复定时和连续执行

---
 src/router/index.ts |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 7db93c4..a422907 100644
--- a/src/router/index.ts
+++ b/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')
       },
       // 项目列表
       {
@@ -89,7 +84,10 @@
               {
                 path: '/' + ERouterName.MEDIA,
                 name: ERouterName.MEDIA,
-                component: () => import('/@/pages/page-web/projects/media.vue')
+                component: () => import('/@/pages/page-web/projects/media.vue'),
+                meta: {
+                  hidden: true
+                }
               },
               {
                 path: '/' + ERouterName.WAYLINE,
@@ -118,7 +116,18 @@
                   }
 
                 ]
-              }
+              },
+
+              {
+                path: '/' + ERouterName.IMPLEMENT,
+                name: ERouterName.IMPLEMENT,
+                component: () => import('/@/pages/page-web/projects/implement.vue')
+              },
+              {
+                path: '/' + ERouterName.ROUTE_HISTORY,
+                name: ERouterName.ROUTE_HISTORY,
+                component: () => import('/@/pages/page-web/projects/routeLine.vue')
+              },
             ],
             meta: {
               header: false
@@ -158,7 +167,7 @@
 ]
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(import.meta.env.BASE_URL),
   routes
 })
 

--
Gitblit v1.9.3