feat: 添加存储商配置表单框架
This commit is contained in:
@@ -11,8 +11,8 @@ export default () => {
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
return (
|
||||
<>
|
||||
<ProCard bordered={false}>
|
||||
<div className={styles.settings_container}>
|
||||
<ProCard bordered={false} boxShadow>
|
||||
<div className={styles.settings_header}>
|
||||
<Select
|
||||
size="large"
|
||||
@@ -55,10 +55,10 @@ export default () => {
|
||||
</Select>
|
||||
</div>
|
||||
</ProCard>
|
||||
<Card style={{ marginTop: 20 }}>
|
||||
<ProCard style={{ marginTop: 20, height: "60vh" }} bordered boxShadow>
|
||||
{location.pathname === "/main/setting" || location.pathname === "/main/setting/" ? (
|
||||
<>
|
||||
<Empty />
|
||||
<Empty description={"请选择存储商"} />
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
@@ -67,7 +67,7 @@ export default () => {
|
||||
</Suspense>
|
||||
</>
|
||||
)}
|
||||
</Card>
|
||||
</>
|
||||
</ProCard>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user