Open ansonlo opened 3 months ago
不知道哪里出错,在 Net.downLoadFile(url) 这个调用后面
Net.downLoadFile(url) .setContext(context) .setFilePath(filesavePath) .setProgress((receivedSize, totalSize) => { //监听下载进度 console.log("totalSize ====" + totalSize + " receivedSize ====" + receivedSize) }) .setNetPlugin(new CustomNetPlugin()) .setHeaders({'Cookie': cookieStr}) .request((data) => { })
收到,我看下是什么问题
不知道哪里出错,在 Net.downLoadFile(url) 这个调用后面
Net.downLoadFile(url) .setContext(context) .setFilePath(filesavePath) .setProgress((receivedSize, totalSize) => { //监听下载进度 console.log("totalSize ====" + totalSize + " receivedSize ====" + receivedSize) }) .setNetPlugin(new CustomNetPlugin()) .setHeaders({'Cookie': cookieStr}) .request((data) => { })