我们在使用select组件时遇到placeholder失效情况只需要赋值undefined就好!
<Select
v-model:value="selectValue"//select双向绑定的数据
:options="selectValueOptions"
:placeholder="t('qms.material.detection.status')"//这里是项目做的国际化
/>
const selectValue = ref<string | undefined>(undefined)
//在初始化select时也需要注意
//我们只需要给双向绑定的selectValue赋值undefined
selectValue.value = undefined