perf: License显示单位调整

This commit is contained in:
fit2cloud-chenyw
2026-01-16 10:38:43 +08:00
committed by fit2cloud-chenyw
parent e8f498be75
commit 4025450248
4 changed files with 11 additions and 4 deletions

View File

@@ -2510,7 +2510,9 @@ export default {
serial_no: 'Serial number',
remark: 'Remark',
back_community: 'Revert to Community Edition',
confirm_tips: 'Are you sure you want to restore to the community edition? '
confirm_tips: 'Are you sure you want to restore to the community edition? ',
set_of: '',
count_of: 'account'
},
cron: {
second: 'Seconds',

View File

@@ -2440,7 +2440,9 @@ export default {
serial_no: '序號',
remark: '備註',
back_community: '還原至社區版',
confirm_tips: '确定還原至社區版?'
confirm_tips: '确定還原至社區版?',
set_of: '套',
count_of: '個賬號'
},
cron: {
second: '秒',

View File

@@ -2446,7 +2446,9 @@ export default {
serial_no: '序列号',
remark: '备注',
back_community: '还原至社区版',
confirm_tips: '确定还原至社区版?'
confirm_tips: '确定还原至社区版?',
set_of: '套',
count_of: '个账号'
},
cron: {
second: '秒',

View File

@@ -122,7 +122,8 @@ const validateHandler = (param, success) => {
}
const getLicense = result => {
if (result.status === 'valid') {
tipsSuffix.value = result?.license?.edition === 'Embedded' ? '套' : '个账号'
tipsSuffix.value =
result?.license?.edition === 'Enterprise' ? t('about.count_of') : t('about.set_of')
}
return {
status: result.status,