v-model只是一个语法糖,以下三行代码是相同的意思<input v-model="sth" /><input :value="sth" @undefined<input v-bind:value="sth" v-on:input="sth = $event.target.value" />