feat: expand NoteAbstractItem clickable area

This commit is contained in:
z3rog 2020-06-24 02:48:40 +08:00
parent 978e744cd8
commit 978f0de503
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<div
class="abstract-item"
@click="$router.push(item.path)">
@click.self="$router.push(item.path)">
<i v-if="item.frontmatter.sticky" class="iconfont reco-sticky"></i>
<div class="title">
<i v-if="item.frontmatter.keys" class="iconfont reco-lock"></i>

View File

@ -25,7 +25,7 @@
:key="subIndex"
class="tag-item"
:class="{ 'active': currentTag == subItem }"
@click="goTags(subItem)">{{subItem}}</span>
@click.stop="goTags(subItem)">{{subItem}}</span>
</i>
</div>
</template>