Open A-XiongLiJun opened 3 years ago
https://a-xionglijun.github.io/2020/12/03/xiu-gai-tou-xiang/
修改头像1 图片上传预览 在页面中添加 input 上传框
点击头像显示上传获取input 对象
给 input 上传框绑定 onChange 事件,触发事件处理程序 onFileChange
// 更新头像 onFil
https://a-xionglijun.github.io/2020/12/03/xiu-gai-tou-xiang/
修改头像1 图片上传预览 在页面中添加 input 上传框
点击头像显示上传获取input 对象
给 input 上传框绑定 onChange 事件,触发事件处理程序 onFileChange
// 更新头像 onFil