fix(web): hide folder tab in agent JSON import uploader (#16754)

This commit is contained in:
euvre
2026-07-08 20:11:55 +08:00
committed by GitHub
parent 2c59d07bdb
commit a41fef49d0
2 changed files with 32 additions and 18 deletions

View File

@@ -58,6 +58,7 @@ export function UploadAgentForm({ hideModal, onOk }: IModalProps<any>) {
value={field.value}
onValueChange={field.onChange}
maxFileCount={1}
showFolderTab={false}
accept={{ '*.json': [FileMimeType.Json] }}
/>
</FormControl>