From d9ed67e0bac77dd7703601f90e88a59632f182fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Sat, 14 Sep 2024 11:30:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages.json | 12 - pages/safeQuestion/safeQuestion.vue | 139 --------- .../updateSafeQuestion/updateSafeQuestion.vue | 278 ------------------ pages/userInfo/userInfo.vue | 19 -- stores/basic.js | 10 - 6 files changed, 1 insertion(+), 459 deletions(-) delete mode 100644 pages/safeQuestion/safeQuestion.vue delete mode 100644 pages/updateSafeQuestion/updateSafeQuestion.vue diff --git a/manifest.json b/manifest.json index 6396c8d..bc7d848 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__933D519", "description" : "", "versionName" : "1.0.0", - "versionCode" : "14", + "versionCode" : "15", "transformPx" : false, /* 小程序特有相关 */ "mp-weixin" : { diff --git a/pages.json b/pages.json index c6faf86..66fb723 100644 --- a/pages.json +++ b/pages.json @@ -51,18 +51,6 @@ "navigationBarTitleText": "验证邮箱" } }, - { - "path": "pages/safeQuestion/safeQuestion", - "style": { - "navigationBarTitleText": "安全问题" - } - }, - { - "path": "pages/updateSafeQuestion/updateSafeQuestion", - "style": { - "navigationBarTitleText": "安全问题" - } - }, { "path": "pages/webview/webview", "style": { diff --git a/pages/safeQuestion/safeQuestion.vue b/pages/safeQuestion/safeQuestion.vue deleted file mode 100644 index ef5b978..0000000 --- a/pages/safeQuestion/safeQuestion.vue +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - diff --git a/pages/updateSafeQuestion/updateSafeQuestion.vue b/pages/updateSafeQuestion/updateSafeQuestion.vue deleted file mode 100644 index c6d1d50..0000000 --- a/pages/updateSafeQuestion/updateSafeQuestion.vue +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index cdd7952..5b3a714 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -44,14 +44,6 @@ - - 安全问题 - - - - - - 国家/地区 @@ -211,17 +203,6 @@ export default { this.routeJump({ name: 'updatePassword' }) - }, - toSafeQuestion() { - if(this.userInfo.haveSafeAnswer) { - this.routeJump({ - name: 'safeQuestion' - }) - } else { - this.routeJump({ - name: 'updateSafeQuestion' - }) - } } } } diff --git a/stores/basic.js b/stores/basic.js index cfb8de8..b5ae7c6 100644 --- a/stores/basic.js +++ b/stores/basic.js @@ -37,16 +37,6 @@ const pages = [ path: '/pages/verifyEmail/verifyEmail', tabBar: false }, - { - name: 'safeQuestion', - path: '/pages/safeQuestion/safeQuestion', - tabBar: false - }, - { - name: 'updateSafeQuestion', - path: '/pages/updateSafeQuestion/updateSafeQuestion', - tabBar: false - }, { name: 'webview', path: '/pages/webview/webview', From 4b829e56decd7af4d2a402dab32098fb9d4881e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Wed, 18 Sep 2024 15:49:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E7=89=88=E9=BB=98=E8=AE=A4=E7=8E=AF=E5=A2=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=BA=BF=E4=B8=8A=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 ++++---- manifest.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/App.vue b/App.vue index cf7897b..e31de50 100644 --- a/App.vue +++ b/App.vue @@ -17,12 +17,12 @@ envVersion: '', // 获取环境配置 getEnvConfig() { - const envVserionStorage = uni.getStorageSync('envVersion') - if(envVserionStorage) { - return envVserionStorage + const envVersionStorage = uni.getStorageSync('envVersion') + if(envVersionStorage) { + return envVersionStorage } else { if(this.envVersion === 'develop') { - return 'DEV' + return 'XHJ' } else if(this.envVersion === 'trial') { return 'PRE' } else { diff --git a/manifest.json b/manifest.json index bc7d848..10a1f70 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__933D519", "description" : "", "versionName" : "1.0.0", - "versionCode" : "15", + "versionCode" : "16", "transformPx" : false, /* 小程序特有相关 */ "mp-weixin" : {