|
@ -23,8 +23,8 @@ |
|
|
// 获取自定义的store |
|
|
// 获取自定义的store |
|
|
const store = useCountStore() |
|
|
const store = useCountStore() |
|
|
appUpdate(fasle); |
|
|
appUpdate(fasle); |
|
|
/* onLaunch(async () => { |
|
|
onLaunch(async () => { |
|
|
*/ // #ifdef MP-WEIXIN |
|
|
// #ifdef MP-WEIXIN |
|
|
if (uni.canIUse('getUpdateManager')) { |
|
|
if (uni.canIUse('getUpdateManager')) { |
|
|
const updateManager = uni.getUpdateManager() |
|
|
const updateManager = uni.getUpdateManager() |
|
|
updateManager.onCheckForUpdate(function (res) { |
|
|
updateManager.onCheckForUpdate(function (res) { |
|
|