<el-input onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"></el-input>
onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"
<el-input onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"></el-input>
onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"