Files
PolyHermes/frontend/src/pages/ConfigPage.tsx
T

42 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-12-03 03:29:04 +08:00
import { Card, Typography, Alert } from 'antd'
import { InfoCircleOutlined } from '@ant-design/icons'
2025-11-21 04:32:08 +08:00
const { Title } = Typography
2025-12-03 03:29:04 +08:00
/**
* 全局配置页面
* 注意:全局配置功能已迁移到模板和跟单关系管理
* 请使用"跟单模板"和"跟单配置"页面进行配置
*/
2025-11-21 04:32:08 +08:00
const ConfigPage: React.FC = () => {
return (
<div>
<div style={{ marginBottom: '16px' }}>
2025-12-03 03:29:04 +08:00
<Title level={2} style={{ margin: 0 }}>全局配置</Title>
2025-11-21 04:32:08 +08:00
</div>
<Card>
2025-12-03 03:29:04 +08:00
<Alert
message="配置功能已迁移"
description={
<div>
<p>全局配置功能已迁移到以下页面:</p>
<ul>
<li><strong>跟单模板</strong>:管理跟单参数(比例、金额、风险控制等)</li>
<li><strong>跟单配置</strong>:将账户、模板和 Leader 关联,启用跟单关系</li>
<li><strong>系统管理</strong>:配置代理、查看 API 健康状态</li>
</ul>
<p>请使用上述页面进行配置管理。</p>
</div>
}
type="info"
icon={<InfoCircleOutlined />}
showIcon
/>
2025-11-21 04:32:08 +08:00
</Card>
</div>
)
}
export default ConfigPage