fix: license 更新提示國際化

This commit is contained in:
taojinlong 2021-05-21 10:22:08 +08:00
parent 4f8f9080cf
commit ff24ab3d6e
4 changed files with 7 additions and 4 deletions

View File

@ -943,6 +943,7 @@ export default {
version_num: 'Version number',
standard: 'Standard',
enterprise: 'Enterprise',
suport: 'Get technical support'
suport: 'Get technical support',
update_success: 'Update Success'
}
}

View File

@ -942,6 +942,7 @@ export default {
version_num: '版本號',
standard: '標準版',
enterprise: '企業版',
suport: '獲取技術支持'
suport: '獲取技術支持',
update_success: '更新成功'
}
}

View File

@ -944,6 +944,7 @@ export default {
version_num: '版本号',
standard: '标准版',
enterprise: '企业版',
suport: '获取技术支持'
suport: '获取技术支持',
update_success: '更新成功'
}
}

View File

@ -138,7 +138,7 @@ export default {
const param = { license: this.licenseKey }
updateInfo(param).then(response => {
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)
} else {
this.$warning(response.data.message)