feat:國際化

This commit is contained in:
taojinlong 2021-06-17 10:09:40 +08:00
parent 585fc9a73d
commit 8ebaf7cfeb
4 changed files with 9 additions and 6 deletions

View File

@ -446,7 +446,8 @@ export default {
origin_passwd: 'Origin Password',
new_passwd: 'New Password',
confirm_passwd: 'Confirm Password',
change_password: 'Change Password'
change_password: 'Change Password',
search_by_name: 'Search by name'
},
role: {
menu_authorization: 'Menu Authorization',

View File

@ -446,7 +446,8 @@ export default {
origin_passwd: '原始密碼',
new_passwd: '新密碼',
confirm_passwd: '確認密碼',
change_password: '修改密碼'
change_password: '修改密碼',
search_by_name: '按姓名搜索'
},
role: {
menu_authorization: '菜單授權',

View File

@ -446,7 +446,8 @@ export default {
origin_passwd: '原始密码',
new_passwd: '新密码',
confirm_passwd: '确认密码',
change_password: '修改密码'
change_password: '修改密码',
search_by_name: '按姓名搜索'
},
role: {
menu_authorization: '菜单授权',

View File

@ -197,12 +197,12 @@ export default {
searchConfig: {
useQuickSearch: true,
useComplexSearch: true,
quickPlaceholder: '按姓名搜索',
quickPlaceholder: this.$t('user.search_by_name'),
components: [
{ field: 'nick_name', label: '姓名', component: 'DeComplexInput' },
{ field: 'nick_name', label: this.$t('commons.nick_name'), component: 'DeComplexInput' },
{
field: 'u.enabled',
label: '状态',
label: this.$t('commons.status'),
component: 'FuComplexSelect',
options: [
{ label: '启用', value: '1' },