列表
This commit is contained in:
@@ -27,8 +27,8 @@ export interface PageState {
|
||||
isShowFilterPopup: boolean
|
||||
filterOptions: IFilterOptions
|
||||
distanceQuickFilter: {
|
||||
distance: string
|
||||
quick: string
|
||||
distanceFilter: string
|
||||
order: string
|
||||
}
|
||||
filterCount: number
|
||||
pageOption: {
|
||||
@@ -46,7 +46,7 @@ export interface ListPageState extends PageState {
|
||||
|
||||
// 搜索页状态
|
||||
export interface SearchPageState extends PageState {
|
||||
searchResultData: TennisMatch[]
|
||||
data: TennisMatch[]
|
||||
suggestionList: string[]
|
||||
isShowSuggestion: boolean
|
||||
searchHistory: {id: number, title: string}[]
|
||||
@@ -88,9 +88,12 @@ export interface ListActions {
|
||||
searchSuggestion: (val: string) => Promise<void>
|
||||
getSearchParams: () => Record<string, any>
|
||||
loadMoreMatches: () => void
|
||||
initialFilterSearch: () => void
|
||||
initialFilterSearch: (isSearchData?: boolean) => void
|
||||
setListData: (payload: IPayload) => void
|
||||
fetchGetGamesCount: () => Promise<void>
|
||||
getCurrentPageState: () => { currentPageState: any; currentPageKey: string }
|
||||
updateCurrentPageState: (payload: Record<string, any>) => void
|
||||
updateDistanceQuickFilter: (payload: Record<string, any>) => void
|
||||
}
|
||||
|
||||
export interface IPayload {
|
||||
|
||||
Reference in New Issue
Block a user