From 778f1a3a113c409ae59254ce84d396ddc7504728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Fri, 29 Aug 2025 17:09:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(update):=20=E6=B7=BB=E5=8A=A0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增updateService模块实现版本检查、下载和安装功能 - 在首页集成更新检查逻辑 - 支持Android和iOS平台的更新处理 - 添加版本比较和更新提示对话框功能 --- ckApp/pages/index/index.vue | 69 +++++++++++- ckApp/utils/updateService.js | 207 +++++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+), 2 deletions(-) create mode 100644 ckApp/utils/updateService.js diff --git a/ckApp/pages/index/index.vue b/ckApp/pages/index/index.vue index 50698c36..5bd991d4 100644 --- a/ckApp/pages/index/index.vue +++ b/ckApp/pages/index/index.vue @@ -9,6 +9,7 @@