增加缺省页组件

This commit is contained in:
禺狨
2023-03-28 10:17:43 +08:00
parent 2e8379f46c
commit 8a52c6cbe9
6 changed files with 33 additions and 11 deletions

View File

@@ -0,0 +1,4 @@
.img-box {
width: 100%;
height: auto;
}

View File

@@ -0,0 +1,12 @@
import styles from "./index.module.scss";
import React from "react";
import { Image } from "antd";
import empty from "../../assets/images/commen/empty.png";
export const Empty: React.FC = () => {
return (
<div className={styles["img-box"]}>
<Image src={empty} width={400} height={400} preview={false} />
</div>
);
};

View File

@@ -4,3 +4,4 @@ export * from "./no-header";
export * from "./header";
export * from "./change-password";
export * from "./user-info"
export * from "./empty"