- To bind @change input method, use e.target.value get the value in the new Vue () method and assigned to a global variable in the state. Using global variables can get in the layer.
<input type="text" @change="changeText" /> method:{ changeText:function(e){ this.text=e.target.value } }
- Success vue write code in a function.
Layui use with the layer and vue, bomb box form form control solution to perform two-way data binding with v-modal invalid
Guess you like
Origin blog.csdn.net/wsln_123456/article/details/104900463
Recommended
Ranking