From ff63ca515acfce8bfdbf27ea8c89eb11ebaf33c3 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Sun, 3 May 2020 16:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=8B=E8=BD=BD=E5=99=A8?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E9=80=82=E9=85=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/downloader.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/downloader.js b/src/utils/downloader.js index a571a60..b93b078 100644 --- a/src/utils/downloader.js +++ b/src/utils/downloader.js @@ -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'