This commit is contained in:
wpf 2024-03-06 17:01:16 +08:00
parent d05baf313c
commit 8ae4863ce9
2 changed files with 14 additions and 7 deletions

View File

@ -218,13 +218,13 @@
<view class="text">{{copyright.Copyright}}</view> <view class="text">{{copyright.Copyright}}</view>
<view class="">备案号:蜀ICP备2022030133号-2A</view> <view class="">备案号:蜀ICP备2022030133号-2A</view>
<view class="">增值电信营业许可证号:川B2-20221250</view> <view class="">增值电信营业许可证号:川B2-20221250</view>
<view class="" style="margin-top: 10rpx;">{{ appVersion }}</view>
</view> </view>
<view v-else class="copy-right"> <!-- <view v-else class="copy-right">
<view class="iconfont icon-crmeb"></view> <view class="iconfont icon-crmeb"></view>
<view class="text">众邦科技提供技术支持</view> <view class="text">众邦科技提供技术支持</view>
</view> </view> -->
<view style="height: 50rpx;"></view> <view style="height: 50rpx;"></view>
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse" <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"
:isGoIndex="false"></authorize> :isGoIndex="false"></authorize>
@ -289,7 +289,8 @@
} from '@/utils'; } from '@/utils';
import Auth from '../../libs/wechat'; import Auth from '../../libs/wechat';
import { import {
HTTP_REQUEST_URL HTTP_REQUEST_URL,
ENV
} from '@/config/app'; } from '@/config/app';
const app = getApp(); const app = getApp();
export default { export default {
@ -440,11 +441,17 @@
newData: {}, newData: {},
activeRouter: '', activeRouter: '',
sysHeight: sysHeight, sysHeight: sysHeight,
appVersion: ''
} }
}, },
onLoad() { 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() { onReady() {
this.isNodes++; this.isNodes++;

View File

@ -280,7 +280,7 @@ import { Toast } from "../../../libs/uniApi";
account: "", account: "",
password: "", password: "",
captcha: "", captcha: "",
formItem: 0, formItem: 1,
type: "login", type: "login",
keyCode: "", keyCode: "",
codeUrl: "", codeUrl: "",