From 85fd17cd8cbbaf7abad0ab882246c498ec25d1c3 Mon Sep 17 00:00:00 2001 From: XieYongHong <18010623010@163.com> Date: Fri, 18 Aug 2023 16:00:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D404=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 0f4ff104..ad252983 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -38,7 +38,7 @@ router.beforeEach((to, from, next) => { router.addRoute('base',{ path: '/:pathMatch(.*)', name: 'error', - component: () => NotFindPage + component: NotFindPage }) next({ ...to, replace: true })