feat: Replace Card components with PageCard

This commit is contained in:
shiyu
2025-08-26 11:41:37 +08:00
parent dbd87a7c37
commit a998d08a4d
7 changed files with 38 additions and 31 deletions
+4 -4
View File
@@ -1,5 +1,6 @@
import { memo, useState, useEffect, useCallback } from 'react';
import { Table, Card, message, Tag, Input, Select, Button, Space, Modal, DatePicker } from 'antd';
import { Table, message, Tag, Input, Select, Button, Space, Modal, DatePicker } from 'antd';
import PageCard from '../components/PageCard';
import { logsApi, type LogItem, type PaginatedLogs } from '../api/logs';
import { format, formatISO } from 'date-fns';
@@ -87,9 +88,8 @@ const LogsPage = memo(function LogsPage() {
];
return (
<Card
<PageCard
title="系统日志"
style={{ margin: 0 }}
extra={
<Space>
<RangePicker
@@ -148,7 +148,7 @@ const LogsPage = memo(function LogsPage() {
</pre>
)}
</Modal>
</Card>
</PageCard>
);
});