diff --git a/src/App.vue b/src/App.vue index 78fa21c..dd2bb78 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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) { diff --git a/src/api/appInfo.ts b/src/api/appInfo.ts index 214daad..ba97151 100644 --- a/src/api/appInfo.ts +++ b/src/api/appInfo.ts @@ -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') } \ No newline at end of file