fix:登录页显示版本号

This commit is contained in:
shijing 2025-04-02 09:21:46 +08:00
parent 168ec2c9af
commit 122e98e0c5
1 changed files with 10 additions and 0 deletions

View File

@ -62,6 +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> </div>
</div> </div>
</div> </div>
@ -94,6 +95,7 @@
</template> </template>
<script> <script>
import config_index from "@/config"
import { Monitor } from '@element-plus/icons-vue' import { Monitor } from '@element-plus/icons-vue'
import passwordForm from './components/passwordForm' import passwordForm from './components/passwordForm'
import phoneForm from './components/phoneForm' import phoneForm from './components/phoneForm'
@ -107,6 +109,7 @@ export default {
}, },
data() { data() {
return { return {
config_index,
config: { config: {
lang: this.$TOOL.data.get('APP_LANG') || this.$CONFIG.LANG, lang: this.$TOOL.data.get('APP_LANG') || this.$CONFIG.LANG,
dark: this.$TOOL.data.get('APP_DARK') || false dark: this.$TOOL.data.get('APP_DARK') || false
@ -401,6 +404,13 @@ export default {
top: 20px; top: 20px;
right: 20px; right: 20px;
} }
.version {
position: absolute;
bottom: 30px;
left: 30px;
font-size: 16px;
color: #fff;
}
.copyright { .copyright {
position: absolute; position: absolute;
bottom: 30px; bottom: 30px;