代码如下

<button v-on="{mouseenter: onEnter,mouseleave: onLeave}">鼠标进来</button>

<button @mouseenter="onEnter" @mouseleave="onLeave">鼠标进来</button>

<!-- 一个事件绑定多个函数,按顺序执行,这里分隔函数可以用逗号也可以用分号-->
<button @click="onEnter(),onLeave ()">点我onEnter onLeave </button>

onEnter () {
console.log('mouse enter')
},
onLeave () {
console.log('mouse leave')
}