Permalink
Browse files

fix: 优化onRowDelete传入参数

  • Loading branch information...
liuyk
liuyk committed Oct 27, 2016
1 parent 6fca4eb commit f33f189855693c5d47a265a24ca84b75937eb497
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/gridCompOperateRow.js
View
@@ -310,7 +310,8 @@ const deleteOneRow = function(index){
var obj = {};
obj.gridObj = this;
obj.index = index;
if(!this.options.onRowDelete(index)){
obj.row = row;
if(!this.options.onRowDelete(obj)){
return;
}
}

0 comments on commit f33f189

Please sign in to comment.