We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在选项只能是文字,不能自定义样式,比如图片+文字的展示方式就实现不了
<wd-select-picker v-model="value" use-default-slot :columns="columns" @confirm="handleConfirm"> <template #option="{ row }">
</template>
The text was updated successfully, but these errors were encountered:
这个功能需求是希望在 wd-select-picker 组件中增加一个选项插槽,以便用户可以自定义选项的样式。目前,选项只能是文字,无法实现例如图片加文字的展示方式。用户期望的 API 是通过使用 use-default-slot 属性和 #option 插槽来实现自定义选项的功能。
wd-select-picker
use-default-slot
#option
这个需求已经被记录下来,并会被考虑在未来的版本中实现。感谢你的反馈!
如果你有其他问题或需要进一步的帮助,请随时告诉我。
Sorry, something went wrong.
No branches or pull requests
这个功能解决了什么问题?
现在选项只能是文字,不能自定义样式,比如图片+文字的展示方式就实现不了
你期望的 API 是什么样子的?
<wd-select-picker v-model="value" use-default-slot :columns="columns" @confirm="handleConfirm">
<template #option="{ row }">
The text was updated successfully, but these errors were encountered: