使用reject而不是lib.other.ignore

This commit is contained in:
nonameShijian 2024-04-17 22:27:00 +08:00
parent e45249f383
commit 4a25a2793d
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ export async function cordovaReady() {
request: request,
hasPermission: status.hasPermission
});
}, lib.other.ignore);
}, reject);
});
})).then(shouldRequestPermissions => {
return shouldRequestPermissions
@ -75,7 +75,7 @@ export async function cordovaReady() {
lib.other.ignore,
lib.other.ignore
);
});
}).catch(console.log);
}
}
game.download = function (url, folder, onsuccess, onerror, dev, onprogress) {