refactor: i18n

This commit is contained in:
shiziyuan9527 2021-03-12 10:25:17 +08:00
parent 114573a475
commit f787ed11d4
4 changed files with 7 additions and 4 deletions

View File

@ -42,7 +42,7 @@ export default {
url: [
{
required: true,
message: this.$t('system_par'),
message: this.$t('system_config.base.url_is_null'),
trigger: ['change', 'blur']
},
],

View File

@ -240,7 +240,8 @@ export default {
base_config: 'Base Config',
base: {
url: 'Website URL',
url_tip: 'examplehttp://localhost:8081'
url_tip: 'examplehttp://localhost:8081',
url_is_null: 'The current site URL cannot be empty'
}
},
workspace: {

View File

@ -241,7 +241,8 @@ export default {
base_config: '基本配置',
base: {
url: '当前站点URL',
url_tip: '例如http://localhost:8081'
url_tip: '例如http://localhost:8081',
url_is_null: '当前站点URL不能为空'
}
},
workspace: {

View File

@ -241,7 +241,8 @@ export default {
base_config: '基本配置',
base: {
url: '當前站點URL',
url_tip: '例如http://localhost:8081'
url_tip: '例如http://localhost:8081',
url_is_null: '當前站點URL不能為空'
}
},
workspace: {