Permalink
Browse files

fix: pro-IUAPDESIGN-274:数字营销:grid中u-grid-content-div这个div多加了一个overflo…

…w-x:hidden属性,导致表格内部的tips被遮盖
  • Loading branch information...
liuyk
liuyk committed Nov 10, 2016
1 parent 33e2ada commit 7f8c036980f1c8c18528b9a3c697a57773d3ac13
Showing with 4 additions and 3 deletions.
  1. +4 −3 js/gridCompCreate.js
View
@@ -350,9 +350,10 @@ const createContentTable = function(createFlag){
if(this.contentMinWidth > 0){
styleStr += 'width:' + this.contentMinWidth + 'px;';
}
if(this.options.noScroll){
styleStr += 'overflow-x:hidden;'
}
// 因为添加overflow-x之后会导致纵向也显示不全,后续出现问题通过修改宽度来实现,不再通过overflow来实现
// if(this.options.noScroll){
// styleStr += 'overflow-x:hidden;'
// }
styleStr += '"';
tableStyleStr = '';
if(this.contentMinWidth > 0){

0 comments on commit 7f8c036

Please sign in to comment.