From 244b91cc7bcc66451c3da05e88fbff854129c8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Tue, 25 Feb 2025 10:30:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SBBJ-837app=E8=87=AA=E5=8A=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 ++-- src/api/appInfo.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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