diff --git a/src/views/dashboard/admin/components/TodoList/Todo.vue b/src/views/dashboard/admin/components/TodoList/Todo.vue index 2dc80d71..181ae5c5 100644 --- a/src/views/dashboard/admin/components/TodoList/Todo.vue +++ b/src/views/dashboard/admin/components/TodoList/Todo.vue @@ -58,6 +58,9 @@ export default { this.$emit('toggleTodo', todo) }, doneEdit(e) { + if (!this.editing) { + return + } const value = e.target.value.trim() const { todo } = this if (!value) {