Browse Source

use the main dataset instead of the current one

Dustin Utecht 5 years ago
parent
commit
ce9bc83428
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -2681,7 +2681,7 @@ class BootstrapTable {
 
 
   _toggleCheck (checked, index) {
   _toggleCheck (checked, index) {
     const $el = this.$selectItem.filter(`[data-index="${index}"]`)
     const $el = this.$selectItem.filter(`[data-index="${index}"]`)
-    const row = this.data[index]
+    const row = this.options.data[index]
 
 
     if (
     if (
       $el.is(':radio') ||
       $el.is(':radio') ||