摘要: ##直接贴代码 ###封装一个方法 /** * @param { * } file input选择后返回的file对象 */ export const compressImage = (file) => { // 参数file,是通过input 选择本地文件获取的 return new Promis 阅读全文
posted @ 2022-11-09 14:16 huihuihero 阅读(94) 评论(0) 推荐(0) 编辑