Permalink
Browse files

fix: pro-IUAPDESIGN-246:友云采:datatable设置选中行之后获取时不正确

  • Loading branch information...
liuyk
liuyk committed Oct 27, 2016
1 parent 373f431 commit f02049cc2b27a781c00df407ef6c22a85a8d0c31
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/dataTable/rowSelect.js
@@ -94,10 +94,10 @@ const addRowsSelect = function (indices) {
}
}
this.selectedIndices(selectedIndices)
var rowIds = this.getRowIdsByIndices(indices)
var rowIds = this.getRowIdsByIndices(selectedIndices)
if(needTrigger){
this.trigger(DataTable.ON_ROW_SELECT, {
indices: indices,
indices: selectedIndices,
rowIds: rowIds
})
}

0 comments on commit f02049c

Please sign in to comment.