摘要: <el-input placeholder="0" size="small" v-model="query" oninput="value=value.replace(/[^\d]/g,'')" ></el-input> 加入正则来限制输入 阅读全文
posted @ 2021-11-11 09:53 启豪 阅读(709) 评论(0) 推荐(0)