Browse Source

Refactor AttachmentDetailDrawer.

pull/9/head
ruibaby 6 years ago
parent
commit
9c5d072688
  1. 30
      src/views/attachment/components/AttachmentDetailDrawer.vue

30
src/views/attachment/components/AttachmentDetailDrawer.vue

@ -47,10 +47,12 @@
>{{ attachment.name }}</template> >{{ attachment.name }}</template>
<span slot="title"> <span slot="title">
附件名 附件名
<a-icon <a href="javascript:void(0);">
type="edit" <a-icon
@click="handleEditName" type="edit"
/> @click="handleEditName"
/>
</a>
</span> </span>
</a-list-item-meta> </a-list-item-meta>
</a-list-item> </a-list-item>
@ -89,10 +91,12 @@
<a-list-item-meta :description="attachment.path"> <a-list-item-meta :description="attachment.path">
<span slot="title"> <span slot="title">
普通链接 普通链接
<a-icon <a href="javascript:void(0);">
type="copy" <a-icon
@click="doCopyNormalLink" type="copy"
/> @click="doCopyNormalLink"
/>
</a>
</span> </span>
</a-list-item-meta> </a-list-item-meta>
</a-list-item> </a-list-item>
@ -101,10 +105,12 @@
<span slot="description">![{{ attachment.name }}]({{ attachment.path }})</span> <span slot="description">![{{ attachment.name }}]({{ attachment.path }})</span>
<span slot="title"> <span slot="title">
Markdown 格式 Markdown 格式
<a-icon <a href="javascript:void(0);">
type="copy" <a-icon
@click="doCopyMarkdownLink" type="copy"
/> @click="doCopyMarkdownLink"
/>
</a>
</span> </span>
</a-list-item-meta> </a-list-item-meta>
</a-list-item> </a-list-item>

Loading…
Cancel
Save