解决下载器浏览器适配问题

This commit is contained in:
ciaochaos 2020-05-03 16:04:12 +08:00
parent c3b0d9a70f
commit ff63ca515a
1 changed files with 0 additions and 2 deletions

View File

@ -42,8 +42,6 @@ export function saveImg(filename, content, width, height) {
let img = document.createElement('img');
// New window for the image when it's loaded
if(!isChrome()) window.open('', 'download');
img.onload = () => {
ctx.fillStyle = 'white'