perf: 许可证版本文案

This commit is contained in:
fit2cloud-chenyw 2023-11-01 14:50:38 +08:00
parent 2be9cbd07d
commit b4d0596949
2 changed files with 9 additions and 2 deletions

View File

@ -1430,8 +1430,9 @@ export default {
auth_num: '授权数量',
version: '版本',
version_num: '版本号',
standard: '标准版',
standard: '社区版',
enterprise: '企业版',
Embeded: '嵌入式版',
support: '获取技术支持',
update_success: '更新成功',
serial_no: '序列号',

View File

@ -150,7 +150,13 @@ const update = (licKey: string) => {
<div class="item">
<div class="label">{{ $t('about.version') }}</div>
<div class="value">
{{ !license?.edition ? $t('about.standard') : $t('about.enterprise') }}
{{
!license?.edition
? $t('about.standard')
: license.edition === 'Embeded'
? $t('about.Embeded')
: $t('about.enterprise')
}}
</div>
</div>
<div class="item">