更新:增加“自动检测版本升级”

This commit is contained in:
2025-11-26 09:26:13 +08:00
parent 110050ca58
commit d9c9e5bac3
23 changed files with 1394 additions and 60 deletions

View File

@@ -1,7 +1,14 @@
<script>
// #ifdef APP-PLUS
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
// #endif
export default {
onLaunch: function() {
console.log('App Launch')
// 检测自动更新
// #ifdef APP-PLUS
updata();
// #endif
},
onShow: function() {
console.log('App Show')