File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5757 < div id ="app ">
5858 < button id ="show-modal " @click ="showModal = true "> Show Modal</ button >
5959 <!-- use the modal component, pass in the prop -->
60- < modal :show& ="showModal ">
60+ < modal :show.sync ="showModal ">
6161 <!--
6262 you can use custom content here to overwrite
6363 default content
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ <h1>todos</h1>
1414 autofocus autocomplete ="off "
1515 placeholder ="What needs to be done? "
1616 v-model ="newTodo "
17- @keyup: enter ="addTodo ">
17+ @keyup. enter ="addTodo ">
1818 </ header >
1919 < section class ="main " v-show ="todos.length " v-cloak >
2020 < input class ="toggle-all " type ="checkbox " v-model ="allDone ">
@@ -31,8 +31,8 @@ <h1>todos</h1>
3131 v-model ="todo.title "
3232 v-todo-focus ="todo == editedTodo "
3333 @blur ="doneEdit(todo) "
34- @keyup: enter ="doneEdit(todo) "
35- @keyup: esc ="cancelEdit(todo) ">
34+ @keyup. enter ="doneEdit(todo) "
35+ @keyup. esc ="cancelEdit(todo) ">
3636 </ li >
3737 </ ul >
3838 </ section >
You can’t perform that action at this time.
0 commit comments