Permalink
Browse files

fix: 增加判断优化页签中的grid在切换的过程中会重绘问题

  • Loading branch information...
liuyk
liuyk committed Nov 10, 2016
1 parent 7f8c036 commit c6b9eb47012d2f2aa8e2cebf32d1b5dfb28bf478
Showing with 10 additions and 8 deletions.
  1. +4 −3 dist/js/u-grid.js
  2. +4 −4 dist/js/u-grid.min.js
  3. +2 −1 js/gridCompWDChange.js
View
@@ -1994,9 +1994,10 @@
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) {
Oops, something went wrong.

0 comments on commit c6b9eb4

Please sign in to comment.