Permalink
Browse files

fix: dataTable选中行

  • Loading branch information...
whizbz11 committed Jan 13, 2017
1 parent dc786be commit e29ed5d3be81fdb0d640d87ba2d712f18c71a456
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/dataTable/rowSelect.js
@@ -89,7 +89,8 @@ const addRowsSelect = function (indices) {
toAdd = false
}
}
if (toAdd) {
//indices[i]存在并且大于-1
if (toAdd && indices[i] > -1) {
needTrigger = true
selectedIndices.push(indices[i])
}

0 comments on commit e29ed5d

Please sign in to comment.