fix(admin-web): snapshots 页面补上 PageContainer 包裹,恢复侧边栏
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
08161c64d4
commit
30f1355bb4
|
|
@ -1,6 +1,7 @@
|
||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { useState, useEffect, useCallback } from 'react';
|
import { useState, useEffect, useCallback } from 'react';
|
||||||
|
import { PageContainer } from '@/components/layout';
|
||||||
import { snapshotApi } from '@/infrastructure/api/snapshot.api';
|
import { snapshotApi } from '@/infrastructure/api/snapshot.api';
|
||||||
import { useSnapshotPolling } from '@/hooks/useSnapshotPolling';
|
import { useSnapshotPolling } from '@/hooks/useSnapshotPolling';
|
||||||
import type {
|
import type {
|
||||||
|
|
@ -166,8 +167,8 @@ export default function SnapshotsPage() {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<PageContainer title="数据快照">
|
||||||
<h1 className={styles.title}>数据快照</h1>
|
<div className={styles.container}>
|
||||||
|
|
||||||
{/* 创建备份表单 */}
|
{/* 创建备份表单 */}
|
||||||
<div className={styles.card}>
|
<div className={styles.card}>
|
||||||
|
|
@ -348,6 +349,7 @@ export default function SnapshotsPage() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</PageContainer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue