mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
perf: License显示单位调整
This commit is contained in:
committed by
fit2cloud-chenyw
parent
e8f498be75
commit
4025450248
@@ -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',
|
||||
|
||||
@@ -2440,7 +2440,9 @@ export default {
|
||||
serial_no: '序號',
|
||||
remark: '備註',
|
||||
back_community: '還原至社區版',
|
||||
confirm_tips: '确定還原至社區版?'
|
||||
confirm_tips: '确定還原至社區版?',
|
||||
set_of: '套',
|
||||
count_of: '個賬號'
|
||||
},
|
||||
cron: {
|
||||
second: '秒',
|
||||
|
||||
@@ -2446,7 +2446,9 @@ export default {
|
||||
serial_no: '序列号',
|
||||
remark: '备注',
|
||||
back_community: '还原至社区版',
|
||||
confirm_tips: '确定还原至社区版?'
|
||||
confirm_tips: '确定还原至社区版?',
|
||||
set_of: '套',
|
||||
count_of: '个账号'
|
||||
},
|
||||
cron: {
|
||||
second: '秒',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user