<input type="text"></input>
<script>
  const input = document.querySelector('input');

  input.addEventListener("paste", function(e){
    e.preventDefault()
  })

</script>

 

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2021-12-31
  • 2021-12-31
  • 2021-05-29
  • 2021-07-05
  • 2021-12-31
猜你喜欢
  • 2021-12-31
  • 2021-12-31
  • 2021-11-07
  • 2021-12-31
  • 2022-12-23
  • 2021-12-31
  • 2021-12-31
相关资源
相似解决方案