From 04cbc942eb61a5f5e984ca92a305d6ba964fccf9 Mon Sep 17 00:00:00 2001 From: zhuchentong <2037630@163.com> Date: Thu, 25 Jul 2024 11:04:32 +0800 Subject: [PATCH] update --- src/bootstrap/launch/app.launch.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootstrap/launch/app.launch.ts b/src/bootstrap/launch/app.launch.ts index f6b878a..227e0b6 100644 --- a/src/bootstrap/launch/app.launch.ts +++ b/src/bootstrap/launch/app.launch.ts @@ -1,4 +1,5 @@ function checkAppUpdate() { + // #ifdef MP-WEIXIN const updateManager = uni.getUpdateManager() updateManager.onUpdateReady(() => { @@ -22,6 +23,7 @@ function checkAppUpdate() { }) } }) + // #endif } function setupAppShare() { @@ -41,6 +43,8 @@ function setupAppShare() { } export function appLaunch() { + // #ifdef MP-WEIXIN checkAppUpdate() setupAppShare() + // #endif }