Permalink
Browse files

fix: 解决可编辑情况下tree的叶子节点首列编辑后会显示icon

  • Loading branch information...
liuyk
liuyk committed Nov 10, 2016
1 parent b188a7b commit 33e2adaa2b1ae7329911b16e21c4b9ba16843577
Showing with 6 additions and 4 deletions.
  1. +2 −1 dist/js/u-grid.js
  2. +2 −2 dist/js/u-grid.min.js
  3. +2 −1 js/re_gridCompEdit.js
View
@@ -5374,10 +5374,11 @@
var oThis = this;
if (obj.colIndex == 0) {
try {
+ this.iconSpan = '';
this.iconSpan = $(td).find('.uf')[0].outerHTML;
} catch (e) {}
} else {
- this.iconSpan = null;
+ this.iconSpan = '';
}
var obj = {};
Oops, something went wrong.

0 comments on commit 33e2ada

Please sign in to comment.