From 21bf629ca55c2f2f4ca21486ff0ce609f6343365 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期一, 31 三月 2025 18:01:13 +0800
Subject: [PATCH] 新建honors

---
 src/router/index.js |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 8899791..38e8377 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2,22 +2,22 @@
 import VueRouter from "vue-router";
 import HomeLayout from "@/layout";
 import Home from "@/views/home";
-
-
+import Honor from "@/views/honors";
 
 const originalPush = VueRouter.prototype.push;
 VueRouter.prototype.push = function push(location) {
-  return originalPush.call(this, location).catch(err => err);
+  return originalPush.call(this, location).catch((err) => err);
 };
 
 Vue.use(VueRouter);
 
-const routes = [{
+const routes = [
+  {
     path: "/",
     name: "HomeLayout",
     component: HomeLayout,
     redirect: {
-      name: "home"
+      name: "honor",
     },
     children: [
       // 鍦ㄤ富妗嗘灦鍐�
@@ -27,9 +27,18 @@
         meta: {
           name: "棣栭〉",
           authentication: false, // 鏄惁闇�瑕佺櫥褰曢獙璇�
-          keepAlive: false // 鏄惁闇�瑕佺紦瀛�
+          keepAlive: false, // 鏄惁闇�瑕佺紦瀛�
         },
-        component: Home
+        component: Home,
+      },
+
+      {
+        path: "/honor",
+        name: "honor",
+        meta: {
+          name: "鑽h獕濂栭」",
+        },
+        component: Honor,
       },
 
       // {
@@ -41,9 +50,7 @@
       //   },
       //   component: () => import("@/views/login/login")
       // },
-
-
-    ]
+    ],
   },
   // 涓嶅湪涓绘鏋跺唴
   // {
@@ -51,11 +58,10 @@
   //   name: "pdf",
   //   component: () => import("@/components/play/pdf")
   // },
-
 ];
 
 const router = new VueRouter({
-  routes
+  routes,
 });
 
-export default router;
\ No newline at end of file
+export default router;

--
Gitblit v1.9.1