@flatbiz/pro-layout 4.4.0 → 4.4.1
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/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/index.d.ts +14 -7
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -105,13 +105,10 @@ export type BootstrapOptions = {
|
|
|
105
105
|
/**
|
|
106
106
|
* ```
|
|
107
107
|
* 1. 正常用法
|
|
108
|
-
* [
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* path: '/detail',
|
|
113
|
-
* element: <Detail />
|
|
114
|
-
* }]
|
|
108
|
+
* [
|
|
109
|
+
* { path: '/', element: <Home /> },
|
|
110
|
+
* { path: '/detail', element: <Detail />}
|
|
111
|
+
* ]
|
|
115
112
|
*
|
|
116
113
|
* 2. 懒加载用法
|
|
117
114
|
* [{
|
|
@@ -367,6 +364,16 @@ export interface LeaveMenuProps {
|
|
|
367
364
|
leaveMenus?: TMenuItem[];
|
|
368
365
|
selectedKeys?: string[];
|
|
369
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* 外部针对出现 iframe tab标题为未知页面的配置、或者想修改二级页面tab标题的,在main模块中设置
|
|
369
|
+
* ```
|
|
370
|
+
* window['_iframeTabConfig'] = {
|
|
371
|
+
* '/system-get/menu3/detail': {
|
|
372
|
+
* name: '详情',
|
|
373
|
+
* },
|
|
374
|
+
* };
|
|
375
|
+
* ```
|
|
376
|
+
*/
|
|
370
377
|
export declare const bootstrap: (options: BootstrapOptions) => void;
|
|
371
378
|
export declare let message: MessageInstance;
|
|
372
379
|
export declare let notification: NotificationInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flatbiz/pro-layout",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "WEB菜单布局",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@dimjs/model-react": ">=1.1.8",
|
|
36
36
|
"@dimjs/utils": ">=1.2.33",
|
|
37
37
|
"@wove/react": ">=1.2.22",
|
|
38
|
-
"@flatbiz/antd": ">=4.2.
|
|
39
|
-
"@flatbiz/utils": ">=4.0.
|
|
38
|
+
"@flatbiz/antd": ">=4.2.107",
|
|
39
|
+
"@flatbiz/utils": ">=4.0.19",
|
|
40
40
|
"antd": ">=5.5.1",
|
|
41
41
|
"react": ">=18.2.0",
|
|
42
42
|
"react-dom": ">=18.2.0",
|