@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.
@@ -13,7 +13,7 @@ export interface PageDataInstanceState extends Object {
13
13
  /**是否最后一页*/
14
14
  hasLastPage?: boolean;
15
15
  /**查询条件*/
16
- search?: Object;
16
+ search?: Record<string, any>;
17
17
  /**表格数据*/
18
18
  dataList?: any[];
19
19
  /**选择行数据*/
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "SunLxy <1011771396@qq.com>",
4
4
  "description": "框架组件库",
5
5
  "homepage": "https://github.com/autumn-fairy-tales/fairys-taro-react",
6
- "version": "1.0.0",
6
+ "version": "1.0.2",
7
7
  "main": "lib/index.js",
8
8
  "types": "esm/index.d.ts",
9
9
  "module": "esm/index.js",
@@ -18,7 +18,7 @@ export interface PageDataInstanceState extends Object {
18
18
  /**是否最后一页*/
19
19
  hasLastPage?: boolean;
20
20
  /**查询条件*/
21
- search?: Object;
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;