使用reject而不是lib.other.ignore
This commit is contained in:
parent
e45249f383
commit
4a25a2793d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue