|
|
@ -29,11 +29,13 @@ const user = wsCache.get(CACHE_KEY.USER) |
|
|
|
const avatar = user.user.avatar ? user.user.avatar : avatarImg |
|
|
|
|
|
|
|
const userName = user.user.nickname ? user.user.nickname : 'Admin' |
|
|
|
const names =[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}] |
|
|
|
const names =[{"text":"英泰","value":1}] |
|
|
|
const tenant = names.find(item => item.value == getTenantId()) |
|
|
|
console.log(344,getTenantId()) |
|
|
|
console.log(344,tenant) |
|
|
|
const language = wsCache.get('lang') |
|
|
|
if('en-US'==language){ |
|
|
|
tenant.text=tenant.text.replace('长春','ChangChun').replace('成都','ChengDu') |
|
|
|
tenant.text=tenant.text.replace('英泰','YingTai') |
|
|
|
} |
|
|
|
const loginOut = () => { |
|
|
|
ElMessageBox.confirm(t('common.loginOutMessage'), t('common.reminder'), { |
|
|
|