yootd 0.2.27 → 0.2.28

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.
Files changed (2) hide show
  1. package/dist/table/index.js +22 -14
  2. package/package.json +1 -1
@@ -58,20 +58,28 @@ var InternalTable = function InternalTable(_ref, ref) {
58
58
  if (_typeof(components.body) === 'object' && components.body.row == null) {
59
59
  components.body.row = PrimaryTBodyRow;
60
60
  }
61
- if (components.header.row != null) {
62
- // 用户自定义的 header row
63
- var UserSettingHeaderRow = components.header.row;
64
- components.header.row = function (props) {
65
- return /*#__PURE__*/React.createElement(PrimaryHeaderRow, props, /*#__PURE__*/React.createElement(UserSettingHeaderRow, props));
66
- };
67
- }
68
- if (_typeof(components.body) === 'object' && components.body.row != null) {
69
- // 用户自定义的 body row
70
- var UserSettingTBodyRow = components.body.row;
71
- components.body.row = function (props) {
72
- return /*#__PURE__*/React.createElement(PrimaryTBodyRow, props, /*#__PURE__*/React.createElement(UserSettingTBodyRow, props));
73
- };
74
- }
61
+
62
+ // if (components.header.row != null) {
63
+ // // 用户自定义的 header row
64
+ // const UserSettingHeaderRow = components.header.row;
65
+
66
+ // components.header.row = (props: any) => (
67
+ // <PrimaryHeaderRow {...props}>
68
+ // <UserSettingHeaderRow {...props}></UserSettingHeaderRow>
69
+ // </PrimaryHeaderRow>
70
+ // );
71
+ // }
72
+
73
+ // if (typeof components.body === 'object' && components.body.row != null) {
74
+ // // 用户自定义的 body row
75
+ // const UserSettingTBodyRow = components.body.row;
76
+
77
+ // components.body.row = (props: any) => (
78
+ // <PrimaryTBodyRow {...props}>
79
+ // <UserSettingTBodyRow {...props}></UserSettingTBodyRow>
80
+ // </PrimaryTBodyRow>
81
+ // );
82
+ // }
75
83
  return components;
76
84
  }, [components, type]);
77
85
  var updateColumn = function updateColumn(key, column) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yootd",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "基于 Antd 二次开发的组件库",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",