This commit is contained in:
Pan 2019-04-16 16:19:36 +08:00
parent 061ab5ee6d
commit 1c9723949d
1 changed files with 1 additions and 1 deletions

View File

@ -11,8 +11,8 @@
<button class="destroy" @click="deleteTodo( todo )" /> <button class="destroy" @click="deleteTodo( todo )" />
</div> </div>
<input <input
v-focus="editing"
v-show="editing" v-show="editing"
v-focus="editing"
:value="todo.text" :value="todo.text"
class="edit" class="edit"
@keyup.enter="doneEdit" @keyup.enter="doneEdit"