示例:输入分页页数,每页显示条数
<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>
标签:el,vue,正整数,input,替换,输入 From: https://www.cnblogs.com/Lu-Lu/p/16963249.html