02 2020 档案
摘要:图片压缩的方法 // 图片压缩 compressImage(file, success, error) { // 图片小于1M不压缩 // if (file.size < Math.pow(1024, 2)) { // return success(file); // } const name =
阅读全文
摘要:html <span class="iconfont scan" @click="scan"> <input ref="camera" type="file" @change="toBase64" style="position: absolute;top:50rem" accept="image/
阅读全文

浙公网安备 33010602011771号