原文链接 https://blog.csdn.net/w6990548/article/details/79388905
<input v-model="currentValue"
:max="max" :min="min"
@keyup.38="topUp"
@keyup.40="bottomUp"
oninput="value=value.replace(/[^\d]/g,'')"
style="width: 200px" />
currentValue
为input绑定显示的值