We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
em..这个后面统一成返回Array,目前先使用Array.from规避这个问题
Array
Array.from
Sorry, something went wrong.
feat: 统一上传图片事件以Array<File>为入参(#22)
57c8003
在1.6.12统一了这个问题,先入参全部类型为数组文件类型
1.6.12
No branches or pull requests
感谢大佬的无私奉献
[onUploadImg的第一个参数是FileList类型,点击上传图片的话函数传进来的是FileList类型,但是点击裁剪上传的话函数传进来的却是File[]类型:
如果是使用FileList.item()而不是通过数组下标进行取值的话就会报错:
The text was updated successfully, but these errors were encountered: