和checkbox一样,select也分单选和多选两种情况。 单选:只能选中一个值。 v-model 绑定的是一个值。 当我们选中 option 中的一个时,会将它对应的 value 赋值到 mySelect 中