From 62fa1b3edcd055a299d05f5f1c3a26f890e9f0d5 Mon Sep 17 00:00:00 2001 From: smallbun <2689170096@qq.com> Date: Sun, 10 Sep 2023 22:24:24 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eiam-portal/src/main/portal-fe/src/utils/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) => {