@flatbiz/pro-layout 4.3.17 → 4.3.19

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/index.d.ts CHANGED
@@ -405,14 +405,14 @@ export interface PageProps {
405
405
  */
406
406
  export declare const Page: (props: PageProps) => import("react/jsx-runtime").JSX.Element;
407
407
  export type PageWrapperServiceConfig = {
408
- onRequest: (params?: TAny) => Promise<TPlainObject>;
408
+ onRequest: (params?: TAny) => Promise<TAny>;
409
409
  params?: TPlainObject | (() => TPlainObject);
410
410
  };
411
411
  export interface PageWrapperProps extends Omit<PageProps, "children"> {
412
412
  /** 接口数据配置 */
413
413
  serviceConfig: PageWrapperServiceConfig;
414
414
  /** children 为函数,参数【respData】为接口返回数据 */
415
- children?: ReactElement | ((respData?: TAny) => ReactElement);
415
+ children?: ReactElement | ReactElement[] | ((respData?: TAny) => ReactElement);
416
416
  /**
417
417
  * 是否异步,默认:false
418
418
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.3.17",
3
+ "version": "4.3.19",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -38,7 +38,8 @@
38
38
  "@dimjs/model-react": ">=1.1.8",
39
39
  "@dimjs/utils": ">=1.2.33",
40
40
  "@wove/react": ">=1.2.22",
41
- "@flatbiz/antd": ">=4.2.0",
41
+ "@flatbiz/antd": ">=4.2.77",
42
+ "@flatbiz/utils": ">=4.3.18",
42
43
  "antd": ">=5.5.1",
43
44
  "react": ">=18.2.0",
44
45
  "react-dom": ">=18.2.0",