Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-21 09:48:23 +00:00
parent db8604cb26
commit c588c141ab

View File

@@ -1,5 +1,5 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { PageHeader, Form, Input, Card, Button, message, Spin } from 'antd'; import { Typography, Form, Input, Card, Button, message, Spin } from 'antd';
import { fetchSpellCheck } from '@/api/spellcheck'; import { fetchSpellCheck } from '@/api/spellcheck';
const { TextArea } = Input; const { TextArea } = Input;
@@ -81,15 +81,17 @@ const SpellCheckPage: React.FC = () => {
<div className="flex flex-col items-center min-h-screen bg-white py-8 px-4"> <div className="flex flex-col items-center min-h-screen bg-white py-8 px-4">
<div className="w-full max-w-4xl space-y-6"> <div className="w-full max-w-4xl space-y-6">
{/* 页面标题区 */} {/* 页面标题区 */}
<PageHeader <div className="text-center">
title="错别字检测与修正" <Typography.Title
className="!px-0 text-center" level={2}
style={{ style={{
fontSize: '24px', color: '#1890ff',
fontWeight: 'bold', margin: 0
color: '#1890ff' }}
}} >
/>
</Typography.Title>
</div>
{/* 参数输入区 */} {/* 参数输入区 */}
<Card className="shadow-sm"> <Card className="shadow-sm">