From 4a25a2793dde546c76d2235e93b63a4a48141475 Mon Sep 17 00:00:00 2001 From: nonameShijian <2954700422@qq.com> Date: Wed, 17 Apr 2024 22:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8reject=E8=80=8C=E4=B8=8D?= =?UTF-8?q?=E6=98=AFlib.other.ignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/init/cordova.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noname/init/cordova.js b/noname/init/cordova.js index 8f350596f..da48c7f7e 100644 --- a/noname/init/cordova.js +++ b/noname/init/cordova.js @@ -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) {