diff --git a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/UserDetail.tsx b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/UserDetail.tsx index 287d1376..2cb11995 100644 --- a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/UserDetail.tsx +++ b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/UserDetail.tsx @@ -29,7 +29,7 @@ import { useLocation } from '@umijs/max'; import { useIntl } from '@@/exports'; import { ExclamationCircleFilled } from '@ant-design/icons'; import { removeUser } from '@/services/account'; -import AppAccess from '@/pages/account/UserDetail/components/AppAccess'; +import AppAccess from './components/AppAccess'; export default () => { const location = useLocation(); diff --git a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/components/AppAccess/AppAccess.tsx b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/components/AppAccess/AppAccess.tsx index 4efe99dd..d2bbf783 100644 --- a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/components/AppAccess/AppAccess.tsx +++ b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/components/AppAccess/AppAccess.tsx @@ -56,7 +56,7 @@ export default (props: { userId: string }) => { padding: 0, }, }} - headerTitle={intl.formatMessage({ id: 'pages.account.user_detail.access_strategy' })} + headerTitle={intl.formatMessage({ id: 'pages.account.user_detail.app_access_title' })} request={getAppAccessPolicyList} params={{ subjectId: userId, subjectType: AccessPolicyType.USER }} rowKey={'id'} diff --git a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/locales/zh-CN.ts b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/locales/zh-CN.ts index bc4a3d2a..ff67e404 100644 --- a/eiam-console/src/main/console-fe/src/pages/account/UserDetail/locales/zh-CN.ts +++ b/eiam-console/src/main/console-fe/src/pages/account/UserDetail/locales/zh-CN.ts @@ -18,7 +18,7 @@ export default { 'pages.account.user_detail.tabs.user_info': '用户信息', 'pages.account.user_detail.tabs.login_audit': '登录日志', - 'pages.account.user_detail.tabs.app_access': '应用授权', + 'pages.account.user_detail.tabs.app_access': '应用权限', 'pages.account.user_detail.extra.delete': '删除用户', 'pages.account.user_detail.extra.delete.confirm_title': '您确定要删除此用户?', 'pages.account.user_detail.extra.delete.confirm_content': '此操作不可恢复,请谨慎操作!', @@ -79,7 +79,7 @@ export default { 'pages.account.user_detail.app_account.columns.option.popconfirm.title': '您确定要删除此应用账户?', - 'pages.account.user_detail.access_strategy': '已授权应用', + 'pages.account.user_detail.app_access_title': '已授权应用', 'pages.account.user_detail.access_strategy.popconfirm.title': '您确定要取消应用授权?', 'pages.account.user_detail.access_strategy.popconfirm.remove': '取消授权', };