fix: umm.
This commit is contained in:
parent
51f3afa862
commit
6208d418c0
|
@ -754,7 +754,8 @@ function setServerIndex() {
|
|||
function setWindowListener() {
|
||||
// 但愿有用
|
||||
window.addEventListener("unhandledrejection", (error) => {
|
||||
throw error;
|
||||
// 希望error.reason能是个正常的error
|
||||
throw error.reason;
|
||||
});
|
||||
|
||||
window.onkeydown = function (e) {
|
||||
|
|
Loading…
Reference in New Issue