@ccs-ui/rc-pro 1.1.24-beta-12 → 1.1.24-beta-13

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/es/ccs.d.ts CHANGED
@@ -200,7 +200,7 @@ type GlobalConfig = {
200
200
  DownloadUrl?: string;
201
201
  /** 允许改变主题 */
202
202
  AllowChangeTheme?: boolean;
203
- /** 布局模型 */
203
+ /** 布局模式、single:单页,tabs:缓存页面 */
204
204
  layoutMode?: 'tabs' | 'single';
205
205
  };
206
206
  type TableFormItems = TableFormItem[];
@@ -63,6 +63,14 @@ var onTableInTabItem = function onTableInTabItem(node) {
63
63
  }
64
64
  };
65
65
  }
66
+
67
+ // if (
68
+ // // 通过指定dom吸顶
69
+ // parent.classList?.contains('ccs-single-page')
70
+ // ) {
71
+ // return { getContainer: () => node };
72
+ // }
73
+
66
74
  return onTableInTabItem(parent);
67
75
  };
68
76
 
@@ -322,6 +330,7 @@ var InternalProTable = function InternalProTable(props) {
322
330
 
323
331
  // 判断在tab中
324
332
  var inTab = onTableInTabItem(tableRef.current);
333
+ console.log('inTab', inTab);
325
334
  if (inTab) {
326
335
  stickyRef.current = inTab;
327
336
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.24-beta-12",
3
+ "version": "1.1.24-beta-13",
4
4
  "description": "修复table双滚动条问题;修复modal按钮无间距问题;修改antd组件过期参数使用问题;修复ccs date-picker插件bug;colorful 主题组件样式调整",
5
5
  "license": "MIT",
6
6
  "author": {