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}`