提交 ff24ab3d authored 作者: taojinlong's avatar taojinlong

fix: license 更新提示國際化

上级 4f8f9080
...@@ -943,6 +943,7 @@ export default { ...@@ -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 { ...@@ -942,6 +942,7 @@ export default {
version_num: '版本號', version_num: '版本號',
standard: '標準版', standard: '標準版',
enterprise: '企業版', enterprise: '企業版',
suport: '獲取技術支持' suport: '獲取技術支持',
update_success: '更新成功'
} }
} }
...@@ -944,6 +944,7 @@ export default { ...@@ -944,6 +944,7 @@ export default {
version_num: '版本号', version_num: '版本号',
standard: '标准版', standard: '标准版',
enterprise: '企业版', enterprise: '企业版',
suport: '获取技术支持' suport: '获取技术支持',
update_success: '更新成功'
} }
} }
...@@ -138,7 +138,7 @@ export default { ...@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论