From 00541173dabd7faa5db3843a84e55f73d1a96b78 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 27 Dec 2023 23:31:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/src/router/routes/home.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/admin/src/router/routes/home.tsx b/apps/admin/src/router/routes/home.tsx index c77b58d8..0dc751bb 100644 --- a/apps/admin/src/router/routes/home.tsx +++ b/apps/admin/src/router/routes/home.tsx @@ -20,7 +20,11 @@ const HomeRoute: RouteObject = { children: [ { path: '', - element: LazyLoad(lazy(() => import('@/views/home/index'))), + element: LazyLoad( + lazy(() => { + return import('@/views/home/index'); + }), + ), meta: { title: '首页', key: 'home',