-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
在使用 Select的时候,自定义了 option slot 但是我不清楚应该如何映射我的数据项的某个属性为 value . 除非我绑定的数据源里面有value的属性,不然我就没有办法自定义 option
<template #option="slotProps">
<Row :key="slotProps">
<Col v-for="(col, i) in columns" :key="i" :span="col.span">
{{ slotProps[col.key] }}
</Col>
</Row>
</template>
What does the proposed API look like?
增加 optionValueProp 属性