<el-input type="number" @mousewheel.native.prevent />
如果还需要禁止上下箭头,则可采用以下方式
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{ -webkit-appearance: none !important; margin: 0; } input[type="number"]{-moz-appearance:textfield;}