From 6c13362b177a2e21ca8ab5f5025d60a9cd65bfb9 Mon Sep 17 00:00:00 2001 From: WrBug Date: Fri, 5 Dec 2025 05:20:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=EF=BC=88=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E5=AF=BC=E5=85=A5=E5=92=8C?= =?UTF-8?q?=E5=8F=82=E6=95=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/notifications/DiscordConfigForm.tsx | 2 +- frontend/src/components/notifications/SlackConfigForm.tsx | 2 +- frontend/src/components/notifications/TelegramConfigForm.tsx | 2 +- frontend/src/pages/CopyTradingAdd.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/notifications/DiscordConfigForm.tsx b/frontend/src/components/notifications/DiscordConfigForm.tsx index ebe0d6b..c6f85fe 100644 --- a/frontend/src/components/notifications/DiscordConfigForm.tsx +++ b/frontend/src/components/notifications/DiscordConfigForm.tsx @@ -8,7 +8,7 @@ interface DiscordConfigFormProps { /** * Discord 配置表单组件 */ -const DiscordConfigForm: React.FC = ({ form }) => { +const DiscordConfigForm: React.FC = ({ form: _form }) => { const { t } = useTranslation() return ( diff --git a/frontend/src/components/notifications/SlackConfigForm.tsx b/frontend/src/components/notifications/SlackConfigForm.tsx index 924ee62..3b05e94 100644 --- a/frontend/src/components/notifications/SlackConfigForm.tsx +++ b/frontend/src/components/notifications/SlackConfigForm.tsx @@ -8,7 +8,7 @@ interface SlackConfigFormProps { /** * Slack 配置表单组件 */ -const SlackConfigForm: React.FC = ({ form }) => { +const SlackConfigForm: React.FC = ({ form: _form }) => { const { t } = useTranslation() return ( diff --git a/frontend/src/components/notifications/TelegramConfigForm.tsx b/frontend/src/components/notifications/TelegramConfigForm.tsx index 3452ebe..f7541e7 100644 --- a/frontend/src/components/notifications/TelegramConfigForm.tsx +++ b/frontend/src/components/notifications/TelegramConfigForm.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { Form, Input, Alert, Button, Space, message } from 'antd' +import { Form, Input, Alert, Button, message } from 'antd' import { ReloadOutlined } from '@ant-design/icons' import { useTranslation } from 'react-i18next' import { apiService } from '../../services/api' diff --git a/frontend/src/pages/CopyTradingAdd.tsx b/frontend/src/pages/CopyTradingAdd.tsx index 7e1735b..011fc65 100644 --- a/frontend/src/pages/CopyTradingAdd.tsx +++ b/frontend/src/pages/CopyTradingAdd.tsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react' import { useNavigate } from 'react-router-dom' -import { Card, Form, Button, Switch, message, Typography, Space, Radio, InputNumber, Modal, Table, Select, Divider } from 'antd' +import { Card, Form, Button, Switch, message, Typography, Space, Radio, InputNumber, Modal, Table, Select } from 'antd' import { ArrowLeftOutlined, SaveOutlined, FileTextOutlined } from '@ant-design/icons' import { apiService } from '../services/api' import { useAccountStore } from '../store/accountStore'