标签:字符 ret mini put hand size search return v-model
// 当插入的值为数组或者对象时会调用它们的toString()方法 let a = `${[1,2,3]}`; // ‘1,2,3‘ let b = `${{a: 1}}`; // ‘[object Object]‘
vue 搜索查询
功能:回车触发查询事件,若不给form加onsubmit="return false",则会刷新整个页面
<el-form :inline="true" :model="queryForm" size="mini" class="demo-form-inline" onsubmit="return false"> <el-form-item label="商品编码"> <el-input v-model="queryForm.skuSn" placeholder="请输入商品编码"></el-input> </el-form-item> <el-form-item> <el-button native-type="submit" @click="handleSearch"> 查询 </el-button> </el-form-item> </el-form>
标签:字符 ret mini put hand size search return v-model
原文地址:https://www.cnblogs.com/Ingots/p/12752537.html