摘要:
在使用Vue开发中,我们会常常获取input框的值,在这跟大家总结一下我常用的两种方式。 使用ref获取input框的值 <template> <div> <div class="logininfor"> <input type="text" placeholder="手机号码" ref="user 阅读全文
摘要:
template 部分 <!-- 搜索页面 --> <template> <div> <div class="goback"> <el-button type="danger" @click="goback">返回</el-button> </div> <div> <el-input v-model 阅读全文