1.html
<input type="text" @change="specifiName($event)" />
2.js
var vm = new Vue({ el: "#app", methods: { specifiName(e) { var that = this; var val = e.target.value; console.log(val); }, } });
1.html
<input type="text" @change="specifiName($event)" />
2.js
var vm = new Vue({ el: "#app", methods: { specifiName(e) { var that = this; var val = e.target.value; console.log(val); }, } });