Browse Source

查询列表高度计算收缩时减小一个像素以隐藏边框线

zhuth 7 years ago
parent
commit
341ef48990
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/view/core/query/QueryFormPanel.js

+ 1 - 1
frontend/saas-web/app/view/core/query/QueryFormPanel.js

@@ -122,7 +122,7 @@ Ext.define('saas.view.core.query.QueryFormPanel', {
         rows = rows ? rows : allRows,
         showMore = rows == allRows;
 
-        var n_height = 14 + rows * ( 32 + 10 );
+        var n_height = 14 + rows * ( 32 + 10 - 1 );
 
         unanimate ? me.setHeight(n_height) : me.animate({dynamic: true, duration: 500, to: {height: n_height + 'px'}});
         me.setToggleBtn(showMore);