feat: 题型处于活动状态时操作侧边栏默认显示 (#157)

This commit is contained in:
alwayrun 2024-05-27 16:10:42 +08:00 committed by sudoooooo
parent 4c85fcc47e
commit 4b8bcac049

View File

@ -72,7 +72,7 @@ const itemClass = computed(() => {
} }
}) })
const showHover = computed(() => { const showHover = computed(() => {
return isHover.value return isHover.value || props.isSelected
}) })
const showUp = computed(() => { const showUp = computed(() => {
return props.qIndex !== 0 return props.qIndex !== 0