image format

This commit is contained in:
CPunisher 2021-03-29 11:48:59 +08:00
parent fa1138c2ce
commit 04730a769a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const ParamUpload = ({ rendererIndex, paramIndex, onChange }) => (
key={"input_" + rendererIndex + "_" + paramIndex} key={"input_" + rendererIndex + "_" + paramIndex}
id="image_upload" id="image_upload"
hidden={true} hidden={true}
accept=".jpg, .jpeg, .png" accept="image/*"
onChange={onChange} onChange={onChange}
/> />
</React.Fragment> </React.Fragment>