easy3wui 1.5.70-beta13 → 1.5.70-beta14

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.
@@ -137,13 +137,17 @@ var Easy3wGridPage = function (_Component) {
137
137
  selectedRowsState = _state.selectedRowsState,
138
138
  selRowKeysTags = _state.selRowKeysTags;
139
139
 
140
+ var printArr = location.hash.split('/');
141
+ var printValue = this.props.printValue || 'print';
142
+ var printFlag = printArr[1] === printValue;
143
+ var hasFormParentClass = this.myRef.current && this.myRef.current.closest('.e3wFormPageWrap'); // 是否处于表单页面
140
144
  var paginationProps = false; // 默认不分页
141
145
  var recursion = function recursion(arr) {
142
146
  arr.forEach(function (item) {
143
147
  var columnsType = item.type;
144
148
  var title = item.title;
145
149
 
146
- if (title && typeof title === 'string' && title.length > 6) {
150
+ if (!(printFlag || hasFormParentClass) && title && typeof title === 'string' && title.length > 6) {
147
151
  item.title = _react2['default'].createElement(
148
152
  _tooltip2['default'],
149
153
  { placement: 'topLeft', title: title },
@@ -282,9 +286,6 @@ var Easy3wGridPage = function (_Component) {
282
286
  }
283
287
  }
284
288
  }
285
- var printArr = location.hash.split('/');
286
- var printValue = this.props.printValue || 'print';
287
- var printFlag = printArr[1] === printValue;
288
289
  if (printFlag) {
289
290
  myColumns.forEach(function (item) {
290
291
  if (item.fixed) {
@@ -306,7 +307,6 @@ var Easy3wGridPage = function (_Component) {
306
307
  '\u6E05\u7A7A'
307
308
  )
308
309
  ), type: 'info' });
309
- var hasFormParentClass = this.myRef.current && this.myRef.current.closest('.e3wFormPageWrap');
310
310
 
311
311
  // console.log('父级是否有 .e3wFormPageWrap:', hasParentClass);
312
312
  return _react2['default'].createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.70-beta13",
3
+ "version": "1.5.70-beta14",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",