摘要: 方法一: HTML <div id="app"> <button @click="getData($event,'100')">点我</button> </div> JS methods : { getData(e,num) { console.log(num); // 输出 100 } } 方法二 阅读全文
posted @ 2020-04-29 11:59 炽橙子 阅读(6555) 评论(0) 推荐(0) 编辑