fix: support selecting yaml extension when importing dsl file (#14088)

This commit is contained in:
wellCh4n 2025-02-20 15:40:43 +08:00 committed by GitHub
parent 9c42626772
commit 79d4db8541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}>