Skip to content

Commit

Permalink
remove old formatMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Nov 29, 2023
1 parent fe5fcff commit 1468149
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/component/PartitionRange/PartitionValueInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import React from 'react';
import { formatMessage } from '@umijs/max';

import { DeleteOutlined, PlusCircleOutlined } from '@ant-design/icons';

Expand All @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion src/page/Secure/RiskLevel/components/column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1468149

Please sign in to comment.