|
@@ -220,7 +220,16 @@ export default {
|
|
|
} else {
|
|
|
i18n.setLocaleMessage(lang, Object.assign(LANG_EN_US, enLocale, enEl))
|
|
|
}
|
|
|
- document.title = app.$t('system.title')
|
|
|
+ let host = window.location.host
|
|
|
+ let hostList = app.$GLOBAL.HOST_LIST()
|
|
|
+ let cur = hostList.find(item => {
|
|
|
+ return host.includes(item.host)
|
|
|
+ })
|
|
|
+ if (cur) {
|
|
|
+ document.title = cur.title
|
|
|
+ } else {
|
|
|
+ document.title = app.$t('system.title')
|
|
|
+ }
|
|
|
},
|
|
|
/**
|
|
|
* @param {Number} num 数值
|