diff --git a/src/component/PartitionRange/PartitionValueInput.tsx b/src/component/PartitionRange/PartitionValueInput.tsx index 1cbd7b44c..8b4983e14 100644 --- a/src/component/PartitionRange/PartitionValueInput.tsx +++ b/src/component/PartitionRange/PartitionValueInput.tsx @@ -15,7 +15,6 @@ */ import React from 'react'; -import { formatMessage } from '@umijs/max'; import { DeleteOutlined, PlusCircleOutlined } from '@ant-design/icons'; @@ -24,6 +23,7 @@ import { DeleteOutlined, PlusCircleOutlined } from '@ant-design/icons'; import { Form, Input, Tooltip } from 'antd'; // @ts-ignore import styles from './PartitionValueInput.less'; +import { formatMessage } from '@/util/intl'; interface PartitionValueInputProps { index: number; diff --git a/src/page/Secure/RiskLevel/components/column.tsx b/src/page/Secure/RiskLevel/components/column.tsx index 5a6c66b8e..9c77c8f5c 100644 --- a/src/page/Secure/RiskLevel/components/column.tsx +++ b/src/page/Secure/RiskLevel/components/column.tsx @@ -18,8 +18,9 @@ import { Acess, createPermission } from '@/component/Acess'; import Action from '@/component/Action'; import TooltipContent from '@/component/TooltipContent'; import { actionTypes, IManagerResourceType, ITaskFlowNode } from '@/d.ts'; +import { formatMessage } from '@/util/intl'; import { transformOBConfigTimeStringToText, transformSecond } from '@/util/utils'; -import { formatMessage } from '@umijs/max'; + interface ApprovalProcessProps { nodes: ITaskFlowNode[]; } diff --git a/src/page/Workspace/components/TablePage/TableData/index.tsx b/src/page/Workspace/components/TablePage/TableData/index.tsx index c7e21c2e3..e3570a2ed 100644 --- a/src/page/Workspace/components/TablePage/TableData/index.tsx +++ b/src/page/Workspace/components/TablePage/TableData/index.tsx @@ -28,13 +28,13 @@ import type { SQLStore } from '@/store/sql'; import notification from '@/util/notification'; import { generateSelectSql } from '@/util/sql'; import { generateUniqKey } from '@/util/utils'; -import { formatMessage } from '@umijs/max'; import { message, Spin } from 'antd'; import { isNil } from 'lodash'; import { inject, observer } from 'mobx-react'; import React from 'react'; import DDLResultSet from '../../DDLResultSet'; import { wrapRow } from '../../DDLResultSet/util'; +import { formatMessage } from '@/util/intl'; const GLOBAL_HEADER_HEIGHT = 40; const TABBAR_HEIGHT = 46; interface ITableDataProps {