feat(env): 添加系统环境变量

This commit is contained in:
woody 2025-10-22 14:07:54 +08:00
parent 368bcfadbb
commit c219ca7565
2 changed files with 6 additions and 4 deletions

View File

@ -3,8 +3,9 @@ ENV = 'production'
# base api
VUE_APP_BASE_API = '/prod-api'
VUE_APP_CLIENT_ADDRESS = 'http://bfdl666.com/#/'
VUE_APP_APP_ADDRESS = 'http://bfdl666.com/#/'
VUE_APP_CLIENT_ADDRESS = 'http://app.bfdl666.com/#/'
VUE_APP_APP_ADDRESS = 'http://app.bfdl666.com/#/'
VUE_APP_SYSTEM_TYPE = '麦禾'
# 打包:
# npm run build:prod

View File

@ -1,7 +1,7 @@
<template>
<div class="login-container">
<div class="top_item">
<div class="title_no">全球一体化系统管理平台</div>
<div class="title_no">全球一体化系统管理平台({{ systemTypes }})</div>
<dv-decoration-5
:color="['#4278a3', '#4278a3']"
style="width: 100%; height: 100px"
@ -166,7 +166,8 @@ export default {
isSend: false,
beginTime: 60,
getCode: '获取验证码',
timer: ''
timer: '',
systemTypes: process.env.VUE_APP_SYSTEM_TYPE
}
},
watch: {