mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
fix: support selecting yaml extension when importing dsl file (#14088)
This commit is contained in:
@@ -97,7 +97,7 @@ const Uploader: FC<Props> = ({
|
|||||||
style={{ display: 'none' }}
|
style={{ display: 'none' }}
|
||||||
type="file"
|
type="file"
|
||||||
id="fileUploader"
|
id="fileUploader"
|
||||||
accept='.yml'
|
accept='.yaml,.yml'
|
||||||
onChange={fileChangeHandle}
|
onChange={fileChangeHandle}
|
||||||
/>
|
/>
|
||||||
<div ref={dropRef}>
|
<div ref={dropRef}>
|
||||||
|
|||||||
Reference in New Issue
Block a user