优化useUrlQueryCriteria类型
parent
024ecc4dd9
commit
9eed196ef9
|
|
@ -1,6 +1,6 @@
|
||||||
export type SetUrlCriteriaQueryFunction = (searchForm: Record<string, any>, pagination: Record<string, any>) => void;
|
export type SetUrlCriteriaQueryFunction = (searchForm: Record<string, any>, pagination: Record<string, any>) => void;
|
||||||
|
|
||||||
export type GetUrlCriteriaQueryFunction = (keysStr: string, valuesStr: string) => Record<string, any>;
|
export type GetUrlCriteriaQueryFunction = (keysStr: "searchFormKeys" | "paginationKeys" | string, valuesStr: "searchFormValues" | "paginationValues" | string) => Record<string, any>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 处理搜索条件缓存到 URL
|
* 处理搜索条件缓存到 URL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue