方法一
<div @default="exampleFun($event, 'other')" />
exampleFun(el, string) {
console.log('默认事件:', el)
console.log('另外的参数:', string)
}
方法二
<div @default="e => {
this.exampleFun(e, 'other')
}" />
exampleFun(el, string) {
console.log('默认事件:', el)
console.log('另外的参数:', string)
}