fix(admin-web): snapshots 页面补上 PageContainer 包裹,恢复侧边栏

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-24 02:27:43 -08:00
parent 08161c64d4
commit 30f1355bb4
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,7 @@
'use client';
import { useState, useEffect, useCallback } from 'react';
import { PageContainer } from '@/components/layout';
import { snapshotApi } from '@/infrastructure/api/snapshot.api';
import { useSnapshotPolling } from '@/hooks/useSnapshotPolling';
import type {
@ -166,8 +167,8 @@ export default function SnapshotsPage() {
};
return (
<PageContainer title="数据快照">
<div className={styles.container}>
<h1 className={styles.title}></h1>
{/* 创建备份表单 */}
<div className={styles.card}>
@ -349,5 +350,6 @@ export default function SnapshotsPage() {
)}
</div>
</div>
</PageContainer>
);
}