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()