From cc41746818af3b619167947ecb4401ccdfbec2d8 Mon Sep 17 00:00:00 2001
From: sen <sen@qq.com>
Date: 星期二, 31 三月 2026 10:40:47 +0800
Subject: [PATCH] 修改搜索
---
ui/car_wx_app/App.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/ui/car_wx_app/App.vue b/ui/car_wx_app/App.vue
index 64da689..075a4a9 100644
--- a/ui/car_wx_app/App.vue
+++ b/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>
--
Gitblit v1.8.0