From cacb0063bdbc0940b41972a79703298db5a878b6 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Wed, 13 Sep 2023 17:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=86=85=E7=9A=84=E5=BC=B9=E7=AA=97=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- store/modules/config.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 2db00b6..bee337d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "里海社区", "appid" : "__UNI__B5B1EDD", "description" : "", - "versionName" : "1.1.2", - "versionCode" : 112, + "versionName" : "1.1.3", + "versionCode" : 113, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/store/modules/config.js b/store/modules/config.js index f62c827..0fbafae 100644 --- a/store/modules/config.js +++ b/store/modules/config.js @@ -48,6 +48,7 @@ const actions = { let res = await getConfig(); commit('SET_CONFIG', res.data); // console.log(compareVersions(res.data.version, '1.0.0')==1&&compareVersions(res.data.version, Cache.get('wgt_version'))==1); + if(uni.getStorageSync('uniMP')) return ;//是小程序环境时不进行更新 let os = uni.getSystemInfoSync(); // uni.showModal({ // title: `当前:${os.appVersion},WGT:${Cache.get('wgt_version')},返回:${res.data.version}`