🐛 fix(UI): 修改dr配置,动态修改title和大屏title
This commit is contained in:
parent
0a51237110
commit
4396effe7e
2
.env.dr
2
.env.dr
|
@ -17,7 +17,7 @@ VUE_APP_GZGQR_URL = 'images/dr/gzhqr.jpg'
|
|||
# 小程序二维码
|
||||
VUE_APP_YDXCX_URL = 'images/dr/ydxcx.jpg'
|
||||
# 系统名称
|
||||
VUE_APP_SYSTEM_NAME = '数字用电管理系统'
|
||||
VUE_APP_SYSTEM_NAME = 'DS-service'
|
||||
# 系统登录页 login-green、login-blue-black、login-blue-white
|
||||
#VUE_APP_LOGIN_PAGE = 'login-green'
|
||||
#VUE_APP_LOGIN_PAGE = 'login-blue-black'
|
||||
|
|
|
@ -17,7 +17,7 @@ VUE_APP_GZGQR_URL = 'images/dr/gzhqr.jpg'
|
|||
# 小程序二维码
|
||||
VUE_APP_YDXCX_URL = 'images/dr/ydxcx.jpg'
|
||||
# 系统名称
|
||||
VUE_APP_SYSTEM_NAME = '数字用电管理系统'
|
||||
VUE_APP_SYSTEM_NAME = 'DS-service'
|
||||
# 系统登录页 login-green、login-blue-black、login-blue-white
|
||||
#VUE_APP_LOGIN_PAGE = 'login-green'
|
||||
#VUE_APP_LOGIN_PAGE = 'login-blue-black'
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=4b483d227a9c7dd12e46faae5a8c8af8&plugin=AMap.Geocoder"></script>
|
||||
<!-- <script type="text/javascript" src="<%= BASE_URL %>cdn/js/jessibuca/jessibuca.js"></script>-->
|
||||
<script src="<%= BASE_URL %>cdn/js/liveplayer/liveplayer-lib.min.js"></script>
|
||||
<title><%= webpackConfig.name %></title>
|
||||
<title><%= process.env.VUE_APP_SYSTEM_NAME %></title>
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// 手动配置的地址
|
||||
window.dasConfig = {
|
||||
ip: 'power-core.drgyen.com',
|
||||
ip: 'digital-core.drgyen.com',
|
||||
port: '',
|
||||
prodApi: '',
|
||||
protocol: 'https://',
|
||||
|
|
|
@ -202,7 +202,8 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
attributeBigTitle() {
|
||||
return this.$store.getters.attributeInfo["bigTitle"] || this.title;
|
||||
// return this.$store.getters.attributeInfo["bigTitle"] || this.title;
|
||||
return process.env.VUE_APP_SYSTEM_NAME || this.title;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
Loading…
Reference in New Issue