From a0e49f983004db20367bf903b05ec2bec9c74696 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Thu, 19 Dec 2024 14:52:19 +0800 Subject: [PATCH] =?UTF-8?q?H5=E4=B8=AD0=E5=85=83=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 3 +- me/detail/detail.nvue | 109 ++++++++++++++++++++++++------------------ me/detail/detail.vue | 58 ++++++++++++++++++---- pages/index/index.vue | 1 - 4 files changed, 111 insertions(+), 60 deletions(-) diff --git a/App.vue b/App.vue index 5af8fbf..1f7b077 100644 --- a/App.vue +++ b/App.vue @@ -375,8 +375,7 @@ //请求后台接口 解析数据 对比版本 that.$Request.getT('/app/user/selectNewApp').then(res => { res = res.data[0]; - console.log("widgetInfo==",widgetInfo) - console.log("selectNewApp==",res) + if (widgetInfo.version < res.version) { let downloadLink = ''; let androidLink = res.androidWgtUrl; diff --git a/me/detail/detail.nvue b/me/detail/detail.nvue index 6d4ef16..58a3cdf 100644 --- a/me/detail/detail.nvue +++ b/me/detail/detail.nvue @@ -1,7 +1,7 @@