mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(docs): fix Cross hovering (#7558)
This commit is contained in:
parent
16abb4ca41
commit
c20634529f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user