fix: 修复偏好设置菜单可被右键选中的问题 (#447)

This commit is contained in:
伊墨
2025-06-05 22:04:29 +08:00
committed by GitHub
parent 85fe938f25
commit a6ffa0c07f

View File

@@ -74,7 +74,7 @@ const menus = [
:key="item.label"
class="size-20 flex flex-col cursor-pointer items-center justify-center gap-2 rounded-lg hover:bg-color-7 text-color-3 transition"
:class="{ 'bg-white! text-primary-5 font-bold': current === index }"
@mousedown="current = index"
@click="current = index"
>
<div
class="size-8"