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

View File

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