sen
2026-03-31 cc41746818af3b619167947ecb4401ccdfbec2d8
ui/car_wx_app/App.vue
@@ -18,12 +18,10 @@
      methods:{
          updateApp() {
           const updateManager = uni.getUpdateManager();
         console.log('updateManager',updateManager)
           updateManager.onCheckForUpdate(function (res) {
             // 请求完新版本信息的回调
             console.log(res);
           });
           updateManager.onUpdateReady(function (res) {
             uni.showModal({
               title: '更新提示',
@@ -38,9 +36,9 @@
                 }
               }
             });
           });
           updateManager.onUpdateFailed(function (res) {
             // 新的版本下载失败
             uni.showModal({
@@ -49,9 +47,9 @@
             })
           });
         }
      }
   }
</script>