Skip to content

Commit

Permalink
Merge pull request #280 from hipibo/next
Browse files Browse the repository at this point in the history
clickrow动作只针对rowClickChecked设置为true时执行
  • Loading branch information
wyqbailey authored Apr 3, 2018
2 parents 3d36194 + fa190ee commit bb5e585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vb/components/data-table/data-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ export default {
// 点击行后是否选中
if (this.rowClickChecked) {
this.current[index].vb_dt_checked = !this.current[index].vb_dt_checked;
this.rowSelectionChange(index);
}
this.rowSelectionChange(index);
},
setChecked(index, status = true) {
this.current[index].vb_dt_checked = status;
Expand Down

0 comments on commit bb5e585

Please # to comment.