diff --git a/frontend/src/pages/Deploy/NotificationTemplate/List/components/TestTemplateDialog.tsx b/frontend/src/pages/Deploy/NotificationTemplate/List/components/TestTemplateDialog.tsx index 49d59b5d..cbd2e911 100644 --- a/frontend/src/pages/Deploy/NotificationTemplate/List/components/TestTemplateDialog.tsx +++ b/frontend/src/pages/Deploy/NotificationTemplate/List/components/TestTemplateDialog.tsx @@ -107,11 +107,7 @@ const TestTemplateDialog: React.FC = ({ onOpenChange(false); } catch (error: any) { - toast({ - variant: 'destructive', - title: '发送失败', - description: error.response?.data?.message || error.message, - }); + // 错误已经在 request.ts 中通过 toast 显示了,这里不需要再显示 } finally { setLoading(false); }