Browse Source

修改更新

master
李俊城 2 months ago
parent
commit
3132f38eeb
  1. 8
      src/App.vue

8
src/App.vue

@ -12,11 +12,13 @@ const { proxy } = getCurrentInstance()
// store // store
const store = useCountStore() const store = useCountStore()
// #ifdef APP const showHint = ref(false)
appUpdate(fasle)
// #endif
onLaunch(async () => { onLaunch(async () => {
// #ifdef APP-PLUS
appUpdate(showHint)
// #endif
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
if (uni.canIUse('getUpdateManager')) { if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager() const updateManager = uni.getUpdateManager()

Loading…
Cancel
Save