uniapp H5中图片上传前压缩

使用处 两个基本函数 // 图片压缩函数 compressImg (file) { const that = this var files var fileSize = parseFloat(parseInt(file['size']) / 1024 / 1024).toFixed(2) var r
posted on 2023-06-06 18:09  贲风  阅读(511)  评论(0编辑  收藏  举报