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
1.4.4
No response
options: [ { group: '分组一', children: [ { label: '选项一', value: 1 }, { label: '选项二', value: 2 }, ], }, { group: '分组二', children: [ { label: '选项三', value: 4 }, { label: '选项四', value: 5 }, { label: '选项五', value: 6 }, ], }, { group: '分组三', divider: true, children: [ { label: '选项六', value: 7 }, { label: '选项七', value: 8 }, { label: '选项八', value: 9 }, ], }] collapsedItems(h, { value, count, collapsedSelectedItems }) { console.log('collapsedItems: ', value, collapsedSelectedItems, count); if (!count) return; // hover展示全部已选项 return (
{item.label}
collapsedSelectedItems 正常获取
collapsedSelectedItems 为undefined
vue(2.6.12)
Chrome(112.0.5615.138)
win10
14.17.0
The text was updated successfully, but these errors were encountered:
👋 @RomenMark,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
♥️ 有劳 @geff1991 @skytt @uyarn 尽快确认问题。 确认有效后将下一步计划和可能需要的时间回复给 @RomenMark 。
uyarn
No branches or pull requests
tdesign-vue 版本
1.4.4
重现链接
No response
重现步骤
options: [
{
group: '分组一',
children: [
{ label: '选项一', value: 1 },
{ label: '选项二', value: 2 },
],
},
{
group: '分组二',
children: [
{ label: '选项三', value: 4 },
{ label: '选项四', value: 5 },
{ label: '选项五', value: 6 },
],
},
{
group: '分组三',
divider: true,
children: [
{ label: '选项六', value: 7 },
{ label: '选项七', value: 8 },
{ label: '选项八', value: 9 },
],
}]
collapsedItems(h, { value, count, collapsedSelectedItems }) {
console.log('collapsedItems: ', value, collapsedSelectedItems, count);
if (!count) return;
// hover展示全部已选项
return (
{collapsedSelectedItems.map((item) => (
{item.label}
))}
0} style="color: #ED7B2F; margin-left: 8px">
+{count}
);
},
期望结果
collapsedSelectedItems 正常获取
实际结果
collapsedSelectedItems 为undefined
框架版本
vue(2.6.12)
浏览器版本
Chrome(112.0.5615.138)
系统版本
win10
Node版本
14.17.0
补充说明
No response
The text was updated successfully, but these errors were encountered: