摘要: authJob(n){ if (n<=0) { return }else{ this.rpc.load.authJob(this.fileList[n-1].raw) .then((res) => { this.outerFileList.push(res) if (n-1==0) { this.$ 阅读全文
posted @ 2024-04-01 09:56 小白字太白 阅读(1) 评论(0) 推荐(0) 编辑
摘要: onBeforeRead (file) { return new Promise((resolve, reject) => { new Compressorjs(file, { //压缩质量, 0-1 // quality: 0.6, // //转换的类型,默认为 image/png // // c 阅读全文
posted @ 2024-04-01 09:55 小白字太白 阅读(11) 评论(0) 推荐(0) 编辑