摘要: 1. blob转file blobToFile (theBlob) { let file = new window.File([theBlob], '文件名字', {type: 'image/jpeg'}) } 2. dataUrl转blob this.$refs['当前图片定义的ref'].toB 阅读全文
posted @ 2019-11-21 09:24 包子不包子 阅读(3947) 评论(1) 推荐(0) 编辑