fix:系统配置添加web版本号

This commit is contained in:
shijing 2025-04-02 10:35:26 +08:00
parent b4915a8811
commit 0f46891643
2 changed files with 5 additions and 3 deletions

View File

@ -62,7 +62,7 @@
<el-button type="default" @click="faceLogin">刷脸登录</el-button>
</div> -->
<!-- <div class="copyright">Copyright © 2024 {{ baseConfig.base_right }}</div> -->
<div class="version">VERSION @ {{ config_index.APP_VER }}</div>
<div class="version">WEB版本{{ config_index.APP_VER }}</div>
</div>
</div>
</div>
@ -408,7 +408,7 @@ export default {
position: absolute;
bottom: 30px;
left: 30px;
font-size: 16px;
font-size: 14px;
color: #fff;
}
.copyright {

View File

@ -12,6 +12,7 @@
></el-avatar>
<h3>{{ form.base_name }}</h3>
<p>SERVER版本: {{ form.sys_version }}</p>
<p>WEB版本: {{ config.APP_VER }}</p>
</div>
</el-header>
<el-main class="nopadding">
@ -54,7 +55,7 @@
<script>
import { defineAsyncComponent } from "vue";
import config from "@/config"
export default {
name: "userCenter",
components: {
@ -65,6 +66,7 @@ export default {
},
data() {
return {
config,
form: {},
menu: [
{