From cf0a431fffc3c3b785958a453a17bae326d8ef39 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 19 Jun 2022 09:21:08 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A1=8C=E9=9D=A2=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E5=87=BA=E7=8E=B0=E6=97=A0=E6=B3=95=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/utils.js b/electron/utils.js index 047bbe726..ac22b5687 100644 --- a/electron/utils.js +++ b/electron/utils.js @@ -304,6 +304,8 @@ module.exports = { } else if (options !== true) { resolve() } + }).catch(_ => { + resolve() }) event.preventDefault() }