From ec5a5b3a95e63353ac043cd7350f0f1afe38346c Mon Sep 17 00:00:00 2001 From: guoshuang Date: Mon, 30 Oct 2023 15:14:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shouye/me.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/shouye/me.vue b/src/pages/shouye/me.vue index f19ca4b..5637a1d 100644 --- a/src/pages/shouye/me.vue +++ b/src/pages/shouye/me.vue @@ -64,7 +64,7 @@ export default class RawHome extends BasePage { model = model; src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'; today = dayjs().format('YYYY-MM-DD dddd'); - version = '0.0.0'; + version = '0.0.2'; checkversion: any = {}; onLoad() { // this.model.getMenuList(); @@ -105,7 +105,7 @@ export default class RawHome extends BasePage { success: (res) => { if (res.confirm) { //确定执行下载 - let downloadApkUrl = this.checkversion.fileAddress; + let downloadApkUrl = this.model.checkversion.fileAddress; uni.showLoading({ title: '下载中', }); @@ -129,6 +129,11 @@ export default class RawHome extends BasePage { }, }); return; + } else { + uni.showToast({ + title: '无更新内容', + icon: 'none', + }); } } catch (e) { console.log('error', e);