@fairys/taro-tools-react 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ export interface PageDataInstanceState extends Object {
|
|
|
18
18
|
/**是否最后一页*/
|
|
19
19
|
hasLastPage?: boolean;
|
|
20
20
|
/**查询条件*/
|
|
21
|
-
search?:
|
|
21
|
+
search?: Record<string, any>;
|
|
22
22
|
/**表格数据*/
|
|
23
23
|
dataList?: any[];
|
|
24
24
|
/**选择行数据*/
|
|
@@ -442,6 +442,7 @@ export function PageDataInstanceContextProvider<T extends PageDataInstanceState
|
|
|
442
442
|
isMountLoad,
|
|
443
443
|
title,
|
|
444
444
|
} = props;
|
|
445
|
+
|
|
445
446
|
const pageInstance = usePageDataInstance(instance);
|
|
446
447
|
|
|
447
448
|
instance.onBefore = onBefore;
|