图表组件封装
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
SelectOutlined, FireOutlined, WarningOutlined, ExclamationCircleOutlined
|
||||
} from '@ant-design/icons';
|
||||
import { Line, Area } from '@ant-design/charts';
|
||||
import { UniversalBarChart, UniversalLineChart } from "../components/recharts"
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
|
||||
@@ -115,6 +116,7 @@ const generationPerformanceConfig = {
|
||||
legend: { position: 'top' },
|
||||
};
|
||||
|
||||
|
||||
export default function AIDiagnosisPage() {
|
||||
const cardStyle = {
|
||||
borderRadius: 12,
|
||||
@@ -140,6 +142,7 @@ export default function AIDiagnosisPage() {
|
||||
|
||||
return (
|
||||
<div style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px 24px', boxSizing: 'border-box', overflowX: 'hidden' }}>
|
||||
|
||||
<style>
|
||||
{`
|
||||
.compact-table .ant-table-thead > tr > th {
|
||||
|
||||
Reference in New Issue
Block a user