forked from github/dataease
fix: license 更新提示國際化
This commit is contained in:
parent
4f8f9080cf
commit
ff24ab3d6e
@ -943,6 +943,7 @@ export default {
|
|||||||
version_num: 'Version number',
|
version_num: 'Version number',
|
||||||
standard: 'Standard',
|
standard: 'Standard',
|
||||||
enterprise: 'Enterprise',
|
enterprise: 'Enterprise',
|
||||||
suport: 'Get technical support'
|
suport: 'Get technical support',
|
||||||
|
update_success: 'Update Success'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -942,6 +942,7 @@ export default {
|
|||||||
version_num: '版本號',
|
version_num: '版本號',
|
||||||
standard: '標準版',
|
standard: '標準版',
|
||||||
enterprise: '企業版',
|
enterprise: '企業版',
|
||||||
suport: '獲取技術支持'
|
suport: '獲取技術支持',
|
||||||
|
update_success: '更新成功'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -944,6 +944,7 @@ export default {
|
|||||||
version_num: '版本号',
|
version_num: '版本号',
|
||||||
standard: '标准版',
|
standard: '标准版',
|
||||||
enterprise: '企业版',
|
enterprise: '企业版',
|
||||||
suport: '获取技术支持'
|
suport: '获取技术支持',
|
||||||
|
update_success: '更新成功'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ export default {
|
|||||||
const param = { license: this.licenseKey }
|
const param = { license: this.licenseKey }
|
||||||
updateInfo(param).then(response => {
|
updateInfo(param).then(response => {
|
||||||
if (response.data.status === 'valid') {
|
if (response.data.status === 'valid') {
|
||||||
this.$success(this.$t('i18n_mc_update_success'))
|
this.$success(this.$t('about.update_success'))
|
||||||
this.license = this.getLicense(response.data)
|
this.license = this.getLicense(response.data)
|
||||||
} else {
|
} else {
|
||||||
this.$warning(response.data.message)
|
this.$warning(response.data.message)
|
||||||
|
Loading…
Reference in New Issue
Block a user