<el-input
v-model="takeOutForm.takeoutAmount"
type="number"
style="width:200px"
oninput="value=value.replace(/[^\d]/g,'')"
/>
<el-input
v-model="takeOutForm.takeoutAmount"
type="number"
style="width:200px"
oninput="value=value.replace(/[^\d]/g,'')"
/>
本文标题:el-input只能输入正整数
本文链接:https://www.haomeiwen.com/subject/bllgmltx.html
网友评论