From 89cf05f9d9b0eafe6bb71d41fc1c398520e55bfa Mon Sep 17 00:00:00 2001 From: dengxiongfei Date: Wed, 23 Feb 2022 21:00:33 +0800 Subject: [PATCH] update version --- App.vue | 7 +++---- env/index.js | 4 ++-- manifest.json | 2 +- pages/mall/index.vue | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/App.vue b/App.vue index a9f7ed5..b6e9b36 100644 --- a/App.vue +++ b/App.vue @@ -85,10 +85,9 @@ export default { //#ifdef APP-PLUS checkUpdate().then((version) => { let curVersion = plus.runtime.version - // if(version != curVersion) { - // plus.runtime.openURL(`https://www.pgyer.com/ST8i`) - // } - console.log(version, curVersion) + if(version != curVersion) { + plus.runtime.openURL(`https://www.pgyer.com/ST8i`) + } }) //#endif }, diff --git a/env/index.js b/env/index.js index a0bfcb1..bcf6a22 100644 --- a/env/index.js +++ b/env/index.js @@ -1,8 +1,8 @@ /** * @description 唯一环境变量 */ -const env = 'test' +// const env = 'test' // const env = 'dev' -// const env = 'production' +const env = 'production' export default env diff --git a/manifest.json b/manifest.json index bfacc94..b8f8646 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "纸掌柜", "appid" : "__UNI__8C1E198", "description" : "", - "versionName" : "1.0.0", + "versionName" : "1.0.1", "versionCode" : 102, "transformPx" : false, "networkTimeout" : { diff --git a/pages/mall/index.vue b/pages/mall/index.vue index e665007..3dc4048 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -1,6 +1,6 @@