From 46e9ea2f28978f36414c389bca64403ead870617 Mon Sep 17 00:00:00 2001
From: pany <939630029@qq.com>
Date: Tue, 29 Aug 2023 19:12:56 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E5=96=84=E8=B7=AF=E7=94=B1=20?=
 =?UTF-8?q?title=20=E4=BB=A5=E5=8F=8A=E6=96=87=E6=A1=A3=E9=93=BE=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../components/NavigationBar/index.vue        |  3 ---
 src/router/index.ts                           | 25 ++++++++++++++-----
 2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/src/layouts/components/NavigationBar/index.vue b/src/layouts/components/NavigationBar/index.vue
index 024b26c..f38bd9e 100644
--- a/src/layouts/components/NavigationBar/index.vue
+++ b/src/layouts/components/NavigationBar/index.vue
@@ -55,9 +55,6 @@ const logout = () => {
         </div>
         <template #dropdown>
           <el-dropdown-menu>
-            <a target="_blank" href="https://juejin.cn/post/7089377403717287972">
-              <el-dropdown-item>中文文档</el-dropdown-item>
-            </a>
             <a target="_blank" href="https://github.com/un-pany/v3-admin-vite">
               <el-dropdown-item>GitHub</el-dropdown-item>
             </a>
diff --git a/src/router/index.ts b/src/router/index.ts
index 614c8d2..2494728 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -6,7 +6,7 @@ const Layouts = () => import("@/layouts/index.vue")
 
 /**
  * 常驻路由
- * 除了 redirect/403/404/login 等隐藏页面以及外链,其他页面建议设置 Name 属性
+ * 除了 redirect/403/404/login 等隐藏页面,其他页面建议设置 Name 属性
  */
 export const constantRoutes: RouteRecordRaw[] = [
   {
@@ -26,6 +26,7 @@ export const constantRoutes: RouteRecordRaw[] = [
     path: "/403",
     component: () => import("@/views/error-page/403.vue"),
     meta: {
+      title: "403",
       hidden: true
     }
   },
@@ -33,6 +34,7 @@ export const constantRoutes: RouteRecordRaw[] = [
     path: "/404",
     component: () => import("@/views/error-page/404.vue"),
     meta: {
+      title: "404",
       hidden: true
     },
     alias: "/:pathMatch(.*)*"
@@ -41,6 +43,7 @@ export const constantRoutes: RouteRecordRaw[] = [
     path: "/login",
     component: () => import("@/views/login/index.vue"),
     meta: {
+      title: "登录",
       hidden: true
     }
   },
@@ -71,7 +74,7 @@ export const constantRoutes: RouteRecordRaw[] = [
         component: () => import("@/views/unocss/index.vue"),
         name: "UnoCSS",
         meta: {
-          title: "原子 CSS",
+          title: "UnoCSS",
           svgIcon: "unocss"
         }
       }
@@ -79,15 +82,25 @@ export const constantRoutes: RouteRecordRaw[] = [
   },
   {
     path: "/link",
-    component: Layouts,
+    meta: {
+      title: "外链",
+      svgIcon: "link"
+    },
     children: [
       {
         path: "https://juejin.cn/post/7089377403717287972",
         component: () => {},
-        name: "Link",
+        name: "Link1",
         meta: {
-          title: "外链",
-          svgIcon: "link"
+          title: "中文文档"
+        }
+      },
+      {
+        path: "https://juejin.cn/column/7207659644487139387",
+        component: () => {},
+        name: "Link2",
+        meta: {
+          title: "新手教程"
         }
       }
     ]