Skip to content

Commit

Permalink
fix(todolist): settled the change event
Browse files Browse the repository at this point in the history
re #127
  • Loading branch information
iliyaZelenko committed Feb 19, 2020
1 parent c0e1c5a commit 2132508
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extensions/nativeExtensions/TodoList/TodoItemView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:value="node.attrs.done"
class="mr-2 mt-3 pt-1"
hide-details
@input="onChange"
@change="onChange"
/>
<div
ref="content"
Expand Down Expand Up @@ -47,8 +47,6 @@ export default class TodoItemView extends Vue {
updateAttrs: (...args: any) => any
onChange () {
console.log('onChange')
this.updateAttrs({
done: !this.node.attrs.done
})
Expand Down

0 comments on commit 2132508

Please sign in to comment.