摘要: 同时传入事件对象和自定义参数 html: <div id="app"> // 方式一 <button @click="click1(1,$event)">aaaa</button> // 方式二 <button @click="click2($event, 11)">ddddd</button> < 阅读全文
posted @ 2020-06-20 22:00 yx1102 阅读(3159) 评论(0) 推荐(1) 编辑