refactor(knowledge): restructure knowledge creation form and hooks
feat(knowledge): add GeneralForm and ChunkMethodForm components
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
}}
|
||||
>
|
||||
{/* 标题栏 */}
|
||||
|
||||
Reference in New Issue
Block a user