Skip to content
New issue

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

H5页面选择文件和拖入文件两种方式兼容 | 念一 #29

Open
thomasliew opened this issue Oct 26, 2022 · 0 comments
Open

H5页面选择文件和拖入文件两种方式兼容 | 念一 #29

thomasliew opened this issue Oct 26, 2022 · 0 comments

Comments

@thomasliew
Copy link
Owner

http://www.nianyi.cc/2022/10/17/1b3ef0b5c0c7.html

demo是在React组件, 原生js同理稍加修改即可 12345678910111213141516171819202122232425262728293031323334353637383940414243<input id='fileInput' accept=".jpg, .jpeg, .png" multiple onChange=&#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant