@flatbiz/pro-layout 4.4.26 → 4.4.27

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
@@ -569,6 +569,12 @@ export type BootstrapOptions = {
569
569
  hideBreadsPathList?: string[];
570
570
  /** iframeTab 激活事件 */
571
571
  onIframeTabActiveEvent?: (item: TPlainObject) => void;
572
+ /** iframeTab 渲染前处理函数,只有execute返回Promise.resolve()时,才会继续渲染 */
573
+ iframeTabRenderPreHook?: {
574
+ execute: () => Promise<void>;
575
+ /** 执行异常渲染 */
576
+ errorRender?: (data?: TPlainObject) => ReactElement;
577
+ };
572
578
  };
573
579
  export type LayoutCtxProps = {
574
580
  menus: TMenuItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.26",
3
+ "version": "4.4.27",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",