Skip to content

Commit

Permalink
refactor: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dwqs committed Mar 12, 2018
1 parent 481354d commit e5d2e47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@
methods: {
toggleRowSelection (row, selected) {
const curIndex = findIndex(this.rows, row);
if (curIndex >= 0) {
if (typeof selected === 'undefined') {
this.toggleSelect(curIndex);
Expand Down Expand Up @@ -685,7 +685,6 @@
});
this.$emit('select-change', rows);
console.log('rrrr', rows);
},
handleRowSelect (isChecked, rowIndex) {
Expand Down

0 comments on commit e5d2e47

Please sign in to comment.