refactor(knowledge): restructure knowledge creation form and hooks

feat(knowledge): add GeneralForm and ChunkMethodForm components
This commit is contained in:
2025-10-13 18:25:44 +08:00
parent cedb0699f5
commit 34181cf025
9 changed files with 625 additions and 381 deletions

View File

@@ -103,11 +103,14 @@ const DialogComponent: React.FC<DialogComponentProps> = ({ dialog, onClose }) =>
onClose={handleBackdropClick}
maxWidth="sm"
fullWidth
PaperProps={{
sx: {
width: config.width || 'auto',
maxWidth: config.width || '500px',
},
slotProps={{
paper: {
sx: {
width: config.width || 'auto',
minWidth: config.width || '300px',
maxWidth: config.width || '500px',
}
}
}}
>
{/* 标题栏 */}