fix: umm.

This commit is contained in:
Ansolve 2024-01-03 03:28:48 +08:00
parent 51f3afa862
commit 6208d418c0
No known key found for this signature in database
GPG Key ID: 2F2873AC9538CC2D
1 changed files with 2 additions and 1 deletions

View File

@ -754,7 +754,8 @@ function setServerIndex() {
function setWindowListener() {
// 但愿有用
window.addEventListener("unhandledrejection", (error) => {
throw error;
// 希望error.reason能是个正常的error
throw error.reason;
});
window.onkeydown = function (e) {