0
Vue快速实现文件夹上传 webkitdirectory
source link: https://blog.51cto.com/u_15692565/5399654
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Vue快速实现文件夹上传 webkitdirectory
原创快速实现文件夹上传 webkitdirectory
1、加上该属性后,点击上传效果,如下图:
2、点击弹窗上传后,效果如下图:
3、最后代码实现很简单:
<input type='file' webkitdirectory/>
- 赞
- 收藏
- 评论
- 分享
- 举报
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK