From de3a28fe4744a68adf377de3b9723919d5923fbe Mon Sep 17 00:00:00 2001 From: zhoujiaxing Date: Fri, 4 Dec 2020 17:49:09 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix=20todoList=E7=BC=96=E8=BE=91=E5=80=BC?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=97=B6=E6=9C=89bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/admin/components/TodoList/Todo.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/admin/components/TodoList/Todo.vue b/src/views/dashboard/admin/components/TodoList/Todo.vue index c4b3cae2..2dc80d71 100644 --- a/src/views/dashboard/admin/components/TodoList/Todo.vue +++ b/src/views/dashboard/admin/components/TodoList/Todo.vue @@ -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, From 33b6cee015cc1c4f3e8a430cad5dc7f291fdd369 Mon Sep 17 00:00:00 2001 From: zhoujiaxing Date: Fri, 4 Dec 2020 18:47:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?update:=E5=A4=8D=E7=94=A8card-panel-col?= =?UTF-8?q?=EF=BC=9B=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=8B=BC=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=8D=95=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/admin/components/PanelGroup.vue | 101 ++++++++++-------- src/views/dashboard/admin/index.vue | 4 +- 2 files changed, 58 insertions(+), 47 deletions(-) diff --git a/src/views/dashboard/admin/components/PanelGroup.vue b/src/views/dashboard/admin/components/PanelGroup.vue index 589236ed..42473dd9 100644 --- a/src/views/dashboard/admin/components/PanelGroup.vue +++ b/src/views/dashboard/admin/components/PanelGroup.vue @@ -1,54 +1,15 @@