title: How can I disable dot using keyup on vue.js 2?
body: <p>I try like this :</p>
  
  <pre><code>&lt;template&gt; 
      ...
      &lt;input type="number" class="form-control" v-model="quantity" min="1" v-on:keyup="disableDot"&gt;
      ...                           
  &lt;/template&gt;
  &lt;script&gt;
      export default{
          ...
          methods:{
              disableDot: function(evt) {
                  evt = (evt) ? evt : window.event
                  let charCode = (evt.which) ? evt.which : evt.keyCode
                  if (charCode === 190) {
                      evt.preventDefault()
                  } 
                  else {
                      return true;
                  }
              }
  
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>If the code executed and I input dot(.), it still can</p>
  
  <p>I want to disable dot. So user can not input dot</p>
  
  <p>How can I do it?</p>