Skip to content

Commit

Permalink
fix: 时间线链接无法点击
Browse files Browse the repository at this point in the history
  • Loading branch information
hanaTsuk1 committed Jun 25, 2024
1 parent 4989865 commit b21ec20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/timeline/TimelineGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ watchDeep(() => props.list, () => {
top: `${start.y}px`,
left: `${start.x}px`,
height: `${end.y - start.y + pointOffset * 3}px`,
}" :data-start="start.time"
}" :data-start="start.time" :class="url ? '' : 'pointer-events-none'"
>
<div
absolute inset-0 transition-opacity rounded-md :class="[
Expand Down Expand Up @@ -339,7 +339,10 @@ watchDeep(() => props.list, () => {
</div>
<v-menu v-if="actions.remove || actions.update">
<template #activator="{ props: menuProps }">
<v-btn icon v-bind="menuProps" size="x-small" bottom-2 right-2 :class="classNames('absolute! z-1')">
<v-btn
icon v-bind="menuProps" size="x-small" bottom-2 right-2 pointer-events-auto
:class="classNames('absolute! z-1')"
>
<div i-mdi:menu-down text-6 />
</v-btn>
</template>
Expand Down

0 comments on commit b21ec20

Please sign in to comment.