From e7bd94a1c8fdff3d2986c5b67987500c4dc442f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Fri, 21 Oct 2022 01:20:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 6 ++++-- manifest.json | 4 ++-- pages/login/userRegister.vue | 11 ----------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/App.vue b/App.vue index ff4d0fe..ec158fd 100644 --- a/App.vue +++ b/App.vue @@ -68,11 +68,12 @@ } }); // #endif - // #ifdef APP-PLUS + uni.getSystemInfo({ success(res) { console.log(res) that.$u.vuex('vuex_version', res.appVersion) + // #ifdef APP-PLUS if (res.platform == 'android') { that.$u.api.apkCheck().then(res1 => { if (res.appVersion < res1.version) { @@ -95,9 +96,10 @@ } }) } + // #endif } }) - // #endif + // #ifdef APP-PLUS uni.showLoading({ title: '自动登录中...', diff --git a/manifest.json b/manifest.json index 03f7ca4..533deb8 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "曲阳金隅EHS", "appid" : "__UNI__B00D419", "description" : "曲阳金隅EHS", - "versionName" : "1.01.02", - "versionCode" : 10102, + "versionName" : "1.01.04", + "versionCode" : 10104, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/login/userRegister.vue b/pages/login/userRegister.vue index 582321d..f1b9d4c 100644 --- a/pages/login/userRegister.vue +++ b/pages/login/userRegister.vue @@ -105,20 +105,9 @@ if (!that.checkedParams(obj)) return; that.$u.api.visitorRegister(obj).then(res => { uni.hideLoading(); - if(res.err_msg){ - this.$u.toast(res.err_msg); - }else{ uni.reLaunch({ url: '/pages/login/login_' }) - } - - }).catch(e => { - console.log(e) - uni.showToast({ - title: e.err_msg, - icon: 'none' - }) }) },