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 0419e889cc894c6eacdcc87f831cd7f102c5c931..ce741bb077b67106994e96bc44d10bef472cb018 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 })