更改登录懒加载

This commit is contained in:
wenhua
2023-11-20 22:01:05 +08:00
parent 4315e42521
commit ae23186c56

View File

@@ -46,7 +46,7 @@ const currentRouter: Array<route> = [
},
{
path: '/login',
element: lazyLoad('login')
element: <Suspense fallback={<Loading />}>{lazyLoad('login')}</Suspense>
}
]