fix(table): fixed checkbox not trigger oninput events in older browsers (#1945)

Co-authored-by: LAPTOP-IUOG0Q5G\chenq <chenqiang0620@gmail.com>
This commit is contained in:
kiloc 2021-05-09 10:45:51 +08:00 committed by GitHub
parent 955f7862d2
commit 42ed6abbdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ export const cellForced = {
disabled: column.selectable
? !column.selectable.call(null, row, $index)
: false,
onInput: () => {
onChange: () => {
store.commit('rowSelectedChanged', row)
},
onClick: (event: Event) => event.stopPropagation(),