Add MainFramework and loading mask. Add animation to menu.

This commit is contained in:
2023-09-06 18:27:18 +08:00
parent 2b4e54a69d
commit 530d201b1c
14 changed files with 279 additions and 24 deletions

View File

@@ -1,10 +1,13 @@
import React from 'react'
import router from '@/router'
import LoadingMask from '@/components/LoadingMask.tsx'
const App: React.FC = () => {
return (
<>
<RouterProvider router={router} />
<Suspense fallback={<LoadingMask />}>
<RouterProvider router={router} />
</Suspense>
</>
)
}