会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hh9515
博客园
首页
新随笔
联系
管理
订阅
2020年7月3日
给img标签的src属性使用file文件对象
摘要: https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL 读取到的file文件对象, 想给img标签使用,直接挂到src上不能用 可以用这个api操作下 img.src = window.URL.createObject
阅读全文
posted @ 2020-07-03 17:17 hh9515
阅读(4468)
评论(0)
推荐(0)
编辑
公告