这样写就可以了
@click="test(...arguments,1)"
例子:
<template> <div> <button @click="test(...arguments,1)">点击</button> </div> </template> <script> export default { name: "HelloWorld", data () { return { }; }, methods: { test(e,num){ console.log(e); // event对象 console.log(num); // 1 } }, } </script> <style lang="css" scoped> </style>