<el-input onkeyup="this.value = this.value.replace(/[^\d.]/g,'');" maxlength="8" > Limit the number input and the maximum length is 8 </el-input>
<el-input onkeyup="this.value = this.value.replace(/[^\d.]/g,'');" maxlength="8" > Limit the number input and the maximum length is 8 </el-input>