<template>
  <div class="display">
     <form @submit.prevent>
       <input @keyup.enter="onEnter">
     </form>
  </div>
</template>

  

onEnter: function () {
      alert('test'); // your code
},

 

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2021-08-23
相关资源
相似解决方案