fix(docs): fix Cross hovering (#7558)

This commit is contained in:
kooriookami 2022-05-08 13:42:39 +08:00 committed by GitHub
parent 16abb4ca41
commit c20634529f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,15 +60,15 @@ const cellProps = ({ columnIndex }) => {
return {
['data-key']: key,
onMouseenter: () => {
kls.value.push(key)
kls.value = key
},
onMouseleave: () => {
kls.value = kls.value.filter((c) => c !== key)
kls.value = ''
},
}
}
const kls = ref<string[]>([])
const kls = ref<string>('')
</script>
<style>