1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-12 22:29:59 +08:00

Merge branch 'vue-element-pr'

This commit is contained in:
zhoujiaxing 2020-12-04 20:35:51 +08:00
commit 4e00cb8276

View File

@ -61,9 +61,8 @@ export default {
const value = e.target.value.trim() const value = e.target.value.trim()
const { todo } = this const { todo } = this
if (!value) { if (!value) {
this.deleteTodo({ this.deleteTodo(todo)
todo this.editing = false
})
} else if (this.editing) { } else if (this.editing) {
this.editTodo({ this.editTodo({
todo, todo,