@ -23,8 +23,8 @@
// 获取自定义的store
const store = useCountStore()
appUpdate(fasle);
/* onLaunch(async () => {
*/ // #ifdef MP-WEIXIN
onLaunch(async () => {
// #ifdef MP-WEIXIN
if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager()
updateManager.onCheckForUpdate(function (res) {
@ -2,5 +2,5 @@ import http from './http'
// 新增申领备件时获取备件列表
export function appCheckUpdate() {
return http.get('/eam/system-install-package/downloadApk')
return http.get('/eam/system-install-package/returnNewFile')
}