From e02fb4ebb2a884978c06f49e74d30efb8206c1ac Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Thu, 11 Jan 2024 00:28:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E4=BA=86=E6=94=B9=E4=B8=80=E5=8F=A5?= =?UTF-8?q?=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/init/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/init/index.js b/noname/init/index.js index b0a625b66..2f4e4e07d 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -761,7 +761,7 @@ function setWindowListener() { Error.prepareStackTrace = function (e, stack) { errorList.push([e, stack]); }; - // 但愿有用 + // 已经有用了 window.addEventListener("unhandledrejection", error => { error.promise.catch(e => { const result = errorList.find(v => v[0] === e);