使用v-on:keydown.enter.prevent即可 <input type="password" class="form-control" id="Passward" name="Passward" v-model="UserData.Passward" v-on:keydown.enter.prevent/> 来源:https://www.cnblogs.com/jieguoguo/p/11797731.html 标签 文本框