From 8ae4863ce94901d83113ccd06c0646322c2e1226 Mon Sep 17 00:00:00 2001 From: wpf <2187978347@qq.com> Date: Wed, 6 Mar 2024 17:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/index.vue | 19 +++++++++++++------ pages/users/login/login_copy.vue | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pages/user/index.vue b/pages/user/index.vue index 787f4f9..2236a60 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -218,13 +218,13 @@ {{copyright.Copyright}} 备案号:蜀ICP备2022030133号-2A 增值电信营业许可证号:川B2-20221250 - + {{ appVersion }} - + @@ -289,7 +289,8 @@ } from '@/utils'; import Auth from '../../libs/wechat'; import { - HTTP_REQUEST_URL + HTTP_REQUEST_URL, + ENV } from '@/config/app'; const app = getApp(); export default { @@ -440,11 +441,17 @@ newData: {}, activeRouter: '', sysHeight: sysHeight, - + appVersion: '' } }, onLoad() { - + // #ifdef APP-PLUS + this.appVersion = 'V ' + uni.getSystemInfoSync().appWgtVersion; + // #endif + // #ifdef H5 + this.appVersion = 'V ' + uni.getSystemInfoSync().appVersion; + // #endif + if(ENV != 'prod') this.appVersion+=" Beta" }, onReady() { this.isNodes++; diff --git a/pages/users/login/login_copy.vue b/pages/users/login/login_copy.vue index a11931f..36f396f 100644 --- a/pages/users/login/login_copy.vue +++ b/pages/users/login/login_copy.vue @@ -280,7 +280,7 @@ import { Toast } from "../../../libs/uniApi"; account: "", password: "", captcha: "", - formItem: 0, + formItem: 1, type: "login", keyCode: "", codeUrl: "",