<el-input v-model="input" placeholder="请输入内容" size="small"
oninput="this.value=this.value.replace(/[^\d.]/g,'');">
</el-input>
<el-input v-model="input" placeholder="请输入内容" size="small"
oninput="this.value=this.value.replace(/[^\d.]/g,'');">
</el-input>