diff --git a/eiam-portal/src/main/portal-fe/src/utils/utils.ts b/eiam-portal/src/main/portal-fe/src/utils/utils.ts index 4ea917c2..4dae8cee 100644 --- a/eiam-portal/src/main/portal-fe/src/utils/utils.ts +++ b/eiam-portal/src/main/portal-fe/src/utils/utils.ts @@ -18,7 +18,6 @@ import { getEncryptSecret } from '@/services'; import type { SortOrder } from 'antd/es/table/interface'; import { parse } from 'querystring'; -import type { ReactText } from 'react'; import { history, matchPath } from '@umijs/max'; import { PhoneNumber } from 'google-libphonenumber'; @@ -94,7 +93,7 @@ export const sortParamConverter = (value: Record | undefined) * * @param value */ -export const filterParamConverter = (value: Record[] | null> | undefined) => { +export const filterParamConverter = (value: Record) => { const param: Record = {}; if (value) Object.entries(value).forEach(([key], index) => {