示例:输入分页页数,每页显示条数
<el-input type="number" class="resNums" v-model="item.resNums" :min="1" :max="500" step="10" placeholder="结果显示条数" onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"></el-input>