Optimize sort and filter in log page

This commit is contained in:
2023-11-08 14:31:22 +08:00
parent 051f581adb
commit 9459461fe6
3 changed files with 90 additions and 39 deletions

9
src/ant-design.d.ts vendored
View File

@@ -1,14 +1,17 @@
import * as React from 'react'
import { CustomIconComponentProps } from '@ant-design/icons/es/components/Icon'
import { TablePaginationConfig } from 'antd/lib'
import { FilterValue } from 'antd/es/table/interface'
import { ColumnsType, FilterValue, SorterResult, SortOrder } from 'antd/es/table/interface'
declare global {
type IconComponent =
| React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>>
| React.ForwardRefExoticComponent<CustomIconComponentProps>
type PaginationConfig = TablePaginationConfig
type _TablePaginationConfig = TablePaginationConfig
type FilterVal = FilterValue
type _ColumnsType<T> = ColumnsType<T>
type _FilterValue = FilterValue
type _SorterResult<T> = SorterResult<T>
type _SortOrder = SortOrder
}