From 9cfbc0cbedaa383785ee307d2dd2536c75b0f962 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Sat, 4 Nov 2023 20:15:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=87=E7=BA=A7=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=9A=84=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uni-upgrade-center-app/utils/call-check-version.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uni_modules/uni-upgrade-center-app/utils/call-check-version.ts b/uni_modules/uni-upgrade-center-app/utils/call-check-version.ts index 0419e889..ce741bb0 100644 --- a/uni_modules/uni-upgrade-center-app/utils/call-check-version.ts +++ b/uni_modules/uni-upgrade-center-app/utils/call-check-version.ts @@ -30,7 +30,7 @@ export type UniUpgradeCenterResult = { } export default function (): Promise { - // #ifdef APP-PLUS + // #ifdef APP return new Promise((resolve, reject) => { const systemInfo = uni.getSystemInfoSync() const appId = systemInfo.appId @@ -94,7 +94,7 @@ export default function (): Promise { reject(e.message) } } else { - reject('plus.runtime.appid is EMPTY') + reject('invalid appid or appVersion') } // #endif }) -- GitLab