From 59ad82442bf213bac547940086ff4e14d0cd342a Mon Sep 17 00:00:00 2001
From: vben <anncwb@126.com>
Date: 星期日, 06 十二月 2020 00:05:26 +0800
Subject: [PATCH] fix(table): fix table setting error

---
 src/router/constant.ts |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/router/constant.ts b/src/router/constant.ts
index a0025c7..b22260a 100644
--- a/src/router/constant.ts
+++ b/src/router/constant.ts
@@ -25,11 +25,23 @@
 export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
   path: '/:path(.*)*',
   name: 'ErrorPage',
-  component: EXCEPTION_COMPONENT,
+  redirect: '/error/404',
+  component: LAYOUT,
   meta: {
     title: 'ErrorPage',
     hideBreadcrumb: true,
   },
+  children: [
+    {
+      path: '/error/404',
+      name: 'ErrorPage',
+      component: EXCEPTION_COMPONENT,
+      meta: {
+        title: 'ErrorPage',
+        hideBreadcrumb: true,
+      },
+    },
+  ],
 };
 
 export const REDIRECT_NAME = 'Redirect';

--
Gitblit v1.8.0