diff --git a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue index f60f18cf2008e7894cf88e052fa6be87a61c99ed..58e2a0ae19752e36c7c145e55958aa267ade5425 100644 --- a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue +++ b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue @@ -304,7 +304,7 @@ }, installPackage() { this.installing = true; - // #ifdef APP-PLUS + // #ifdef APP uni.installApk({ filePath: this.tempFilePath, success: _ => { 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 77d55c200ae219bef6213b215f61b3b5476ee0cc..72ef019d318eac2a472cefd02401129cbda35f81 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 @@ -111,7 +111,7 @@ export default function () : Promise { // #endif }) // #endif - // #ifndef APP-PLUS + // #ifndef APP return new Promise((resolve, reject) => { reject({ message: '请在App中使用'