Vuejs快速获取input的值

一,使用$.ref来标识元素,代码:

二,使用v-model双向绑定

 

原文地址:https://www.cnblogs.com/shy1766IT/p/13267294.html