Vuejs V-Model Saat Enter Ditekan
<input type="text" v-on:keyup.enter="submit" />
<p> {{ outputValueOnEnter }} </p>
//In data() :
outputValueOnEnter = ''
// In methods:
submit(e) {
this.outputValueOnEnter = e.target.value
e.target.value = ''
}
Lioruby