@kdcloudjs/table 1.2.2-canary.15 → 1.2.2-canary.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.
@@ -490,7 +490,8 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
490
490
  components = _this$props8.components,
491
491
  bordered = _this$props8.bordered,
492
492
  direction = _this$props8.direction,
493
- prefixCls = _this$props8.prefixCls;
493
+ _prefixCls = _this$props8.prefixCls;
494
+ var prefixCls = _prefixCls === 'kd' || !_prefixCls ? undefined : _prefixCls; // 不生效上层传的prefix为kd,只有传除'kd'外的前缀才生效,kui默认传kd,避免对之前的样式层级有影响
494
495
  info.direction = direction;
495
496
  var artTableWrapperClassName = cx(Classes.artTableWrapper, (_cx = {
496
497
  'use-outer-border': useOuterBorder,
@@ -503,7 +503,8 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
503
503
  components = _this$props8.components,
504
504
  bordered = _this$props8.bordered,
505
505
  direction = _this$props8.direction,
506
- prefixCls = _this$props8.prefixCls;
506
+ _prefixCls = _this$props8.prefixCls;
507
+ var prefixCls = _prefixCls === 'kd' || !_prefixCls ? undefined : _prefixCls; // 不生效上层传的prefix为kd,只有传除'kd'外的前缀才生效,kui默认传kd,避免对之前的样式层级有影响
507
508
  info.direction = direction;
508
509
  var artTableWrapperClassName = (0, _classnames.default)(_styles.Classes.artTableWrapper, (_cx = {
509
510
  'use-outer-border': useOuterBorder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/table",
3
- "version": "1.2.2-canary.15",
3
+ "version": "1.2.2-canary.16",
4
4
  "description": "金蝶 react table 组件",
5
5
  "title": "table",
6
6
  "keywords": [