摘要: v-bind:单向数据绑定 v-model: 双向数据绑定 <input v-model="price" /> <!-- input的v-model相当于下面这行代码 --> <input :value="price" @input="price = $event.target.value"> 愣是 阅读全文
posted @ 2021-12-24 14:32 superil 阅读(31) 评论(0) 推荐(0) 编辑