From cbe48c5481861d3d9520f44a723c52a09fca5d74 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 19 Jul 2019 22:26:26 +0800 Subject: [PATCH] Completed #33 --- .../components/AttachmentDetailDrawer.vue | 1 + src/views/post/CategoryList.vue | 46 +++++++++++++++---- src/views/sheet/SheetList.vue | 42 +++++++++++++++-- 3 files changed, 76 insertions(+), 13 deletions(-) diff --git a/src/views/attachment/components/AttachmentDetailDrawer.vue b/src/views/attachment/components/AttachmentDetailDrawer.vue index 4495ce7b..6d8f3cbc 100644 --- a/src/views/attachment/components/AttachmentDetailDrawer.vue +++ b/src/views/attachment/components/AttachmentDetailDrawer.vue @@ -290,6 +290,7 @@ export default { this.photo['takeTime'] = new Date().getTime() photoApi.create(this.photo).then(response => { this.$message.success('添加成功!') + this.photo = {} }) }, onClose() { diff --git a/src/views/post/CategoryList.vue b/src/views/post/CategoryList.vue index 706daddc..b123b952 100644 --- a/src/views/post/CategoryList.vue +++ b/src/views/post/CategoryList.vue @@ -92,14 +92,34 @@ @click="handleEditCategory(record)" >编辑 - - 删除 - + + 更多 + + + + 添加到菜单 + + + + + 删除 + + + + @@ -111,6 +131,7 @@