+
@@ -11,11 +11,8 @@
:key="index"
:class="{ active: item.active }"
:data-index="index"
- @mousedown="
- e => {
- onTap(e, item);
- }
- "
+ @click="onTap(item)"
+ @contextmenu.stop.prevent="openCM($event, item)"
>
{{ item.label }}
@@ -23,125 +20,89 @@
class="el-icon-close"
v-if="index > 0"
:class="{ active: index > 0 }"
- @mousedown.stop="onDel(index)"
+ @click.stop="onDel(index)"
>