perf: 优化会话记录详情

This commit is contained in:
“huailei000” 2023-02-10 19:38:01 +08:00 committed by huailei
parent b709333b1b
commit f86af9c8b8

View File

@ -116,8 +116,9 @@ export default {
value: this.session.asset value: this.session.asset
}, },
{ {
key: this.$t('sessions.systemUser'), key: this.$t('assets.Account'),
value: this.session.system_user value: this.session.account
}, },
{ {
key: this.$t('sessions.protocol'), key: this.$t('sessions.protocol'),
@ -125,7 +126,7 @@ export default {
}, },
{ {
key: this.$t('sessions.loginFrom'), key: this.$t('sessions.loginFrom'),
value: this.session.login_from value: this.session.login_from?.label || '-'
}, },
{ {
key: this.$t('sessions.remoteAddr'), key: this.$t('sessions.remoteAddr'),