fix: filterColumn内容超出8个字显示省略号

This commit is contained in:
izbz wh 2019-04-24 09:49:33 +08:00
parent bc07ab36d8
commit 2878e39ccb
3 changed files with 9 additions and 3 deletions

View File

@ -131,6 +131,8 @@
border-bottom: 1px solid rgb(193, 199, 208);
text-align: center;
position: relative; }
.u-table-placeholder .table-nodata {
font-size: 48px; }
.u-table-expand-icon-col {
width: 10px; }
.u-table-row .u-table tr, .u-table-expanded-row .u-table tr {
@ -320,7 +322,7 @@
width: 30px;
height: 38px;
line-height: 38px;
right: 12px;
right: 0px;
top: 1px;
z-index: 2;
background: rgb(241, 242, 245);

View File

@ -48,6 +48,10 @@ var _beeLoading = require('bee-loading');
var _beeLoading2 = _interopRequireDefault(_beeLoading);
var _beeIcon = require('bee-icon');
var _beeIcon2 = _interopRequireDefault(_beeIcon);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@ -137,7 +141,7 @@ var defaultProps = {
return body;
},
emptyText: function emptyText() {
return 'No Data';
return _react2["default"].createElement(_beeIcon2["default"], { type: 'uf-nodata', className: 'table-nodata' });
},
columns: [],
minColumnWidth: 80,

View File

@ -569,7 +569,7 @@ $icon-color:#505F79;
}
}
&-pop-cont-item>span{
&-pop-cont-item span.drop-menu-title{
margin-left: -3px;
max-width: 132px;
width: auto !important;