摘要: 一个组件上的 v-model 默认会利用名为 value 的 prop 和名为 input 的事件,但是像单选框、复选框等类型的输入控件可能会将 value attribute 用于不同的目的。model 选项可以用来避免这样的冲突。(文档介绍) v-model实现表单输入的双向绑定 <input 阅读全文
posted @ 2020-12-10 17:45 eightabs 阅读(355) 评论(0) 推荐(0) 编辑