Skip to content

Commit

Permalink
fix: highlighting condition error
Browse files Browse the repository at this point in the history
  • Loading branch information
YangFong committed Aug 25, 2024
1 parent 5b0979a commit 05b0af5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CodemirrorEditor/EditorHeader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ function updateOpen(isOpen) {
<DropdownMenu :open="isClickTrigger && isOpenList[1]" @update:open="updateOpen">
<DropdownMenuTrigger
class="flex items-center p-2 px-4 hover:bg-gray-2 dark:hover:bg-stone-9" :class="{
'dark:bg-stone-9': isOpenList[1],
'bg-gray-2': isClickTrigger && isOpenList[1],
'dark:bg-stone-9': isClickTrigger && isOpenList[1],
}" @click="clickTrigger()" @mouseenter="openDropdown(1)()"
>
格式
Expand Down

0 comments on commit 05b0af5

Please sign in to comment.