vue中视频截图下载保存/存储实现(Failed to execute ‘toDataURL‘ on ‘HTMLCanvasElement‘: Tainted canvas报错处理方法)
截图asynctakeScreenshot(){constself=this;html2canvas(self.screenshotDom,{allowTaint:true,useCORS:true,}).then((canvas)=>{//生成base64路径constcapture=canvas.toDataURL("image/png");this.downloadLocal(capture