diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index ef55d185a5..e3172434b9 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -85,6 +85,7 @@ export default { tokenError: 'Token error, please login again' }, commons: { + icon: 'Icon', all: 'All', enable: 'Enable', disable: 'Disable', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 89d4de7d20..a82796f1c9 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -85,6 +85,7 @@ export default { tokenError: '信息错误,请重新登陸' }, commons: { + icon: '圖標', all: '全部', enable: '啟用', disable: '停用', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 2a7f143168..fe69e1ade0 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -85,6 +85,7 @@ export default { tokenError: 'token错误,请重新登录' }, commons: { + icon: '图标', all: '全部', enable: '启用', disable: '停用', @@ -421,7 +422,12 @@ export default { apikey_delete_confirm: '这个 API Key 确定要删除吗?', input_id_placeholder: '请输入ID (不支持中文)', source: '用户来源', - choose_org: '选择组织' + choose_org: '选择组织', + reset_password: '重置密码', + current_user: '当前用户', + origin_passwd: '原始密码', + new_passwd: '新密码', + confirm_passwd: '确认密码' }, role: { menu_authorization: '菜单授权', diff --git a/frontend/src/layout/components/Topbar.vue b/frontend/src/layout/components/Topbar.vue index ebb84789ec..095f8490b4 100644 --- a/frontend/src/layout/components/Topbar.vue +++ b/frontend/src/layout/components/Topbar.vue @@ -35,7 +35,7 @@ --> - + @@ -45,21 +45,21 @@ - 个人信息 + {{ $t('commons.personal_info') }} - 重置密码 + {{ $t('user.reset_password') }} - Docs + {{ $t('commons.help_documentation') }} - 关于 + {{ $t('commons.about_us') }} - 退出 + {{ $t('commons.exit_system') }} @@ -100,7 +100,7 @@ import { isExternal } from '@/utils/validate' // import Doc from '@/components/Doc' // import Screenfull from '@/components/Screenfull' // import SizeSelect from '@/components/SizeSelect' -import LangSelect from '@/components/LangSelect' +// import LangSelect from '@/components/LangSelect' import { getSysUI } from '@/utils/auth' export default { name: 'Topbar', @@ -108,7 +108,7 @@ export default { AppLink, // Screenfull, // SizeSelect, - LangSelect + // LangSelect // Doc }, data() { diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index cca292902f..86959314ac 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -287,11 +287,9 @@ export default { methods: { select(selection) { - console.log(selection) }, search(condition) { - console.log(condition) // demo只查看搜索条件,没有搜索的实现 const temp = formatCondition(condition) const param = temp || {} const { currentPage, pageSize } = this.paginationConfig diff --git a/frontend/src/views/system/user/personPwd.vue b/frontend/src/views/system/user/personPwd.vue index 690177c209..5783bcb421 100644 --- a/frontend/src/views/system/user/personPwd.vue +++ b/frontend/src/views/system/user/personPwd.vue @@ -1,19 +1,19 @@