vue限制输入框只能输入数字

  • 2022-06-06
  • 0
  • 0

el-input加上oninput = “value=value.replace(/[^\d]/g,”)”

评论

还没有任何评论,你来说两句吧

你必须 登录 才能发表评论.