ant select有默认值但是还显示placeholder
将默认值设置为空数组
<a-select placeholder="请选择入学年份"
:defaultValue="chooseGrade"
@change="handleChange"
@pressEnter="check">
<a-select-option v-for="items in grades"
:key="items.value"
:value="items.valueDisplay">{{items.valueDisplay}}</a-select-option>
</a-select>
js
data () {
return {
chooseGrade: []
}
}