摘要: 代码如下: 1 compressImage(file) { 2 // 参数file,是通过input 选择本地文件获取的 3 return new Promise((resolve, reject) => { 4 const { type, name } = file.file 5 let img 阅读全文
posted @ 2020-09-23 17:30 艾若菲 阅读(1653) 评论(0) 推荐(0) 编辑