From 2e74ef1864b683f4545a9c1d3a6dbbe4a2722790 Mon Sep 17 00:00:00 2001 From: johnniang Date: Fri, 19 Apr 2019 22:10:00 +0800 Subject: [PATCH] Refactor attachment detail drawer --- src/views/attachment/AttachmentList.vue | 176 ++-------------- .../components/AttachmentDetailDrawer.vue | 199 ++++++++++++++++++ 2 files changed, 213 insertions(+), 162 deletions(-) create mode 100644 src/views/attachment/components/AttachmentDetailDrawer.vue diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 63937cac..b353662e 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -125,137 +125,30 @@

支持单个或批量上传

- - - - -
- -
-
-
- - - - - - - - - - 附件名: - - - - - - - 附件类型: - - - - - 附件大小: - - - - - 图片尺寸: - - - - - 上传日期: - - - - - - 普通链接: - - - - - - - - Markdown 格式: - - - - - - - -
-
- - 删除 - -
-
+ :attachment="selectAttachment" + @delete="handleDelete" + /> + +