From 64e97daf22e06573d210776e75ccf851c588704a Mon Sep 17 00:00:00 2001 From: Vibe Studio Date: Fri, 16 Jan 2026 06:05:34 +0000 Subject: [PATCH] Update from Vibe Studio --- src/pages/spell-check/index.tsx | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/pages/spell-check/index.tsx b/src/pages/spell-check/index.tsx index 50778807..0a8264d9 100644 --- a/src/pages/spell-check/index.tsx +++ b/src/pages/spell-check/index.tsx @@ -1,6 +1,5 @@ import { useState } from 'react' import { Button, Card, Form, Input, message, Space, Switch } from 'antd' -import { PageHeader } from '@ant-design/pro-components' import { checkAndCorrectSpelling } from '@/api/spellCheck' interface CorrectionResult { @@ -224,13 +223,15 @@ const SpellCheck = () => { return (
-
-

+ {/* 页面标题区 */} +
+

错别字检测与纠正系统

+ {/* 参数输入区 */}
{ name="custom_vocab" label="自定义词汇库(可选)" rules={[{ validator: validateCustomVocab }]} - extra={ -
- 格式要求:合法的JSON数组,元素为字符串 -
- } > +
+ 格式要求:合法的JSON数组,元素为字符串 +
+ {/* 操作按钮区 */}
- + {/* 内容展示区 */} + 0 || isGenerating ? 'block' : 'none' + }} + >