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