Skip to content
Snippets Groups Projects
Unverified Commit 616f173a authored by 花裤衩's avatar 花裤衩 Committed by GitHub
Browse files

feature[tagsView]: support middle click (#1149)

parent d1cceb69
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@
:class="isActive(tag)?'active':''"
:to="tag"
:key="tag.path"
tag="span"
class="tags-view-item"
@click.middle.native="closeSelectedTag(tag)"
@contextmenu.prevent.native="openMenu(tag,$event)">
{{ generateTitle(tag.title) }}
<span class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)"/>
......@@ -149,6 +151,7 @@ export default {
.tags-view-item {
display: inline-block;
position: relative;
cursor: pointer;
height: 26px;
line-height: 26px;
border: 1px solid #d8dce5;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment