easy3wui 1.5.8-12.beta → 1.5.8-13.beta

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.
@@ -1074,7 +1074,7 @@ var _initialiseProps = function _initialiseProps() {
1074
1074
  titlec = column.name,
1075
1075
  helpInfo = column.helpInfo;
1076
1076
  var e3wFieldCfg = _this3.props.e3wFieldCfg;
1077
- var dataIndex = column.dataIndex;
1077
+ var dataIndex = column.key;
1078
1078
 
1079
1079
  var objCfg = e3wFieldCfg && e3wFieldCfg[dataIndex] && e3wFieldCfg[dataIndex] instanceof Object ? e3wFieldCfg[dataIndex] : null;
1080
1080
  if (objCfg) {
@@ -1098,15 +1098,18 @@ var _initialiseProps = function _initialiseProps() {
1098
1098
  var needHelpFlag = true;
1099
1099
  if (titlec && titlec instanceof Object) {
1100
1100
  var _titlec = titlec,
1101
+ titleType = _titlec.type,
1101
1102
  props = _titlec.props;
1102
1103
 
1103
- var _ref3 = props || {},
1104
- placement = _ref3.placement,
1105
- titleT = _ref3.title,
1106
- children = _ref3.children,
1107
- restProps = (0, _objectWithoutProperties3['default'])(_ref3, ['placement', 'title', 'children']);
1104
+ var _ref3 = titleType || {},
1105
+ name = _ref3.name;
1108
1106
 
1109
- if (placement && titleT && children) {
1107
+ var _ref4 = props || {},
1108
+ titleT = _ref4.title,
1109
+ children = _ref4.children,
1110
+ restProps = (0, _objectWithoutProperties3['default'])(_ref4, ['title', 'children']);
1111
+
1112
+ if (name === 'Tooltip' && titleT) {
1110
1113
  // 创建新的Tooltip组件,继承现有props,更新title
1111
1114
  titlec = _react2['default'].createElement(
1112
1115
  _tooltip2['default'],
@@ -1185,7 +1188,6 @@ var _initialiseProps = function _initialiseProps() {
1185
1188
  column.name = titlec;
1186
1189
  }
1187
1190
  columnsNew.push((0, _extends3['default'])({}, column));
1188
- // return column;
1189
1191
  }
1190
1192
  if (autoAddNumber && typeof autoAddNumber === 'boolean') {
1191
1193
  var objColumns = columns && columns.length > 0 ? columns[0] : {};
@@ -1215,8 +1217,8 @@ var _initialiseProps = function _initialiseProps() {
1215
1217
  this.saveEditBigTableZJ = function () {
1216
1218
  var objToolbarProps = _this3.props.objToolbarProps;
1217
1219
 
1218
- var _ref4 = objToolbarProps || {},
1219
- saveEditBigTable = _ref4.saveEditBigTable;
1220
+ var _ref5 = objToolbarProps || {},
1221
+ saveEditBigTable = _ref5.saveEditBigTable;
1220
1222
 
1221
1223
  if (saveEditBigTable && typeof saveEditBigTable === 'function') {
1222
1224
  // 数据变更-回调函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.8-12.beta",
3
+ "version": "1.5.8-13.beta",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",