优化初次加载loading

This commit is contained in:
none 2023-03-29 14:47:35 +08:00
parent ffe0451e3f
commit 7b95339b0a
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,10 @@
.loadingBox {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
text-align: center;
line-height: 100vh;
}

View File

@ -1,10 +1,11 @@
import { Spin } from "antd";
import styles from "./index.module.scss";
const LoadingPage = () => {
return (
<>
<div className={styles.loadingBox}>
<Spin />
</>
</div>
);
};