From e3f069b4fbb1ddcbc9f1c0832634200555789268 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期二, 22 三月 2022 17:42:53 +0800
Subject: [PATCH] 新增采集数据相关页面

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

diff --git a/src/router/index.ts b/src/router/index.ts
index 73f503f..2ccd64a 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,45 +1,46 @@
 import {
-	createRouter,
-	createWebHashHistory,
-	createWebHistory,
-	Router,
-	RouteRecordRaw
+  createRouter,
+  createWebHashHistory,
+  createWebHistory,
+  Router,
+  RouteRecordRaw
 } from "vue-router";
 import { routerMode } from "/@/config/env";
 
 declare interface CoolRouter extends Router {
-	$plugin?: {
-		addViews(list: any[], options?: any): void;
-	};
+  $plugin?: {
+    addViews(list: any[], options?: any): void;
+  };
 }
 
 const routes: Array<RouteRecordRaw> = [
-	{
-		path: "/",
-		name: "index",
-		component: () => import(`/@/pages/layout/index.vue`),
-		children: [
-			{
-				path: "/",
-				name: "鏁版嵁缁熻",
-				component: () => import("/@/views/home/index.vue")
-			}
-		]
-	},
-	{
-		path: "/:catchAll(.*)",
-		name: "404",
-		redirect: "/404"
-	}
+  {
+    path: "/",
+    name: "index",
+    component: () => import(`/@/pages/layout/index.vue`),
+    children: [
+      {
+        path: "/",
+        name: "鏁版嵁缁熻",
+        component: () => import("/@/views/home/index.vue")
+      }
+    ]
+  },
+
+  {
+    path: "/:catchAll(.*)",
+    name: "404",
+    redirect: "/404"
+  }
 ];
 
 const router = createRouter({
-	history: routerMode == "history" ? createWebHistory() : createWebHashHistory(),
-	routes
+  history: routerMode == "history" ? createWebHistory() : createWebHashHistory(),
+  routes
 }) as CoolRouter;
 
 export default router;
 
 export const ignore: any = {
-	token: ["/login", "/403", "/404", "/500", "/502"]
+  token: ["/login", "/403", "/404", "/500", "/502"]
 };

--
Gitblit v1.9.1