1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +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 { todo } = this
if (!value) {
this.deleteTodo({
todo
})
this.deleteTodo(todo)
this.editing = false
} else if (this.editing) {
this.editTodo({
todo,