From 3132f38eeba70794d140637535765aedb7f04c1a Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 26 Feb 2025 17:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 635a3b1..fb1eecb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,11 +12,13 @@ const { proxy } = getCurrentInstance() // 获取自定义的store const store = useCountStore() -// #ifdef APP -appUpdate(fasle) -// #endif +const showHint = ref(false) onLaunch(async () => { + // #ifdef APP-PLUS + appUpdate(showHint) + // #endif + // #ifdef MP-WEIXIN if (uni.canIUse('getUpdateManager')) { const updateManager = uni.getUpdateManager()