Commit fceaa74d authored by FuryBean's avatar FuryBean Committed by 杨奕

Table: checkbox selection not trigger row-click event (#9467)

parent 9655a829
...@@ -39,6 +39,7 @@ const forced = { ...@@ -39,6 +39,7 @@ const forced = {
}, },
renderCell: function(h, { row, column, store, $index }) { renderCell: function(h, { row, column, store, $index }) {
return <el-checkbox return <el-checkbox
nativeOn-click={ (event) => event.stopPropagation() }
value={ store.isSelected(row) } value={ store.isSelected(row) }
disabled={ column.selectable ? !column.selectable.call(null, row, $index) : false } disabled={ column.selectable ? !column.selectable.call(null, row, $index) : false }
on-input={ () => { store.commit('rowSelectedChanged', row); } } />; on-input={ () => { store.commit('rowSelectedChanged', row); } } />;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment