<input class="new-todo" placeholder="What needs to be done?" autofocus
@keyup.enter="add" >
vue使用按键修饰符enter触发事件
猜你喜欢
转载自www.cnblogs.com/xiannv/p/10996278.html
今日推荐
周排行