fix(feed): 提示条 wrapper 上 @click.stop 阻止冒泡到 NCard
This commit is contained in:
@@ -722,9 +722,10 @@ onMounted(async () => {
|
|||||||
v-if="(categoryPromptsByArticle.get(a.id)?.length ?? 0) > 0"
|
v-if="(categoryPromptsByArticle.get(a.id)?.length ?? 0) > 0"
|
||||||
:key="`prompt-wrapper-${a.id}`"
|
:key="`prompt-wrapper-${a.id}`"
|
||||||
class="feed-category-prompt-wrapper"
|
class="feed-category-prompt-wrapper"
|
||||||
|
@click.stop
|
||||||
>
|
>
|
||||||
<!-- 标题行:标记已读的确认 + 1~2 条分类提示的容器 -->
|
<!-- 标题行:标记已读的确认 + 1~2 条分类提示的容器 -->
|
||||||
<div class="feed-category-prompt-header">
|
<div class="feed-category-prompt-header" @click.stop>
|
||||||
<NSpace align="center" :size="8" :wrap="true">
|
<NSpace align="center" :size="8" :wrap="true">
|
||||||
<NTag type="success" size="small" round :bordered="false">✓ 已将《{{ a.title_zh || a.title }}》标记为已读</NTag>
|
<NTag type="success" size="small" round :bordered="false">✓ 已将《{{ a.title_zh || a.title }}》标记为已读</NTag>
|
||||||
</NSpace>
|
</NSpace>
|
||||||
|
|||||||
Reference in New Issue
Block a user