feat: Oauth update

This commit is contained in:
landaiqing
2024-05-27 17:54:33 +08:00
parent 015d7b256f
commit 90a1c1f3ce
10 changed files with 78 additions and 72 deletions

View File

@@ -33,7 +33,7 @@ const routes: RouteObject[] = [
},
{
path: "/loading",
Component: (props) => ComponentLoading(Loading, props),
Component: Loading,
},
];

View File

@@ -1,9 +1,11 @@
import { lazy } from 'react'
/** @format */
import { lazy } from "react";
const main = lazy(
() =>
new Promise((resolve: any) => {
setTimeout(() => resolve(import('@/views/Main')), 1000)
}),
)
export default main
() =>
new Promise((resolve: any) => {
setTimeout(() => resolve(import("@/views/Main")), 1000);
}),
);
export default main;