1//HTML
2<div id="vueRoot">
3 <form ref="form">
4 <input name="vitalInformation" v-model="store.vital">
5 <a href="#" v-on:click="submit">SUBMIT</a>
6 </form>
7</div>
8
9//JS
10vm = new Vue({
11 el : "#vueRoot",
12 methods : {
13 submit : function(){
14 this.$refs.form.submit()
15 }
16 }
17});
18
1<div id="vueRoot">
2 <form ref="form">
3 <input name="vitalInformation" v-model="store.vital">
4 <a href="#" v-on:click="submit">SUBMIT</a>
5 </form>
6</div>
7