@flatbiz/pro-layout 4.3.15 → 4.3.16

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
@@ -123,6 +123,22 @@ export type BootstrapOptions = {
123
123
  * ```
124
124
  */
125
125
  routeList: TRouteItemProps[];
126
+ /**
127
+ * 面包屑配置
128
+ * ```
129
+ * 例如:
130
+ * 模块地址:a/b
131
+ * export const breadConfig: Record<string, BreadRoute[]> = {
132
+ * 'a/b': [
133
+ * { name: 'HOME', path: '', to: '' },
134
+ * { name: 'DETAIL', path: 'detail', to: '' },
135
+ * { name: 'LIST', path: ':id/list', to: '' },
136
+ * ],
137
+ * };
138
+ * 注意:
139
+ * 1. 当路由中存在动态变量时,配置在动态面包屑中动态变量必须与动态路由中的变量相同
140
+ * ```
141
+ */
126
142
  breads?: BreadsData;
127
143
  /**
128
144
  * layout模式
@@ -296,6 +312,8 @@ export type BootstrapOptions = {
296
312
  unMatchHiddenSiderBar?: boolean;
297
313
  /** 侧边栏是否显示搜索框 */
298
314
  sliderBarSearch?: boolean;
315
+ /** iframeTab 页面可独立访问 */
316
+ iframeTabAloneView?: boolean;
299
317
  };
300
318
  export type LayoutCtxProps = {
301
319
  menus: TMenuItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.3.15",
3
+ "version": "4.3.16",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",