Skip to content
New issue

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

[select]select的下拉选项没跟随options slot改变而变化 #495

Closed
Zwow opened this issue Mar 4, 2022 · 2 comments · Fixed by #503
Closed

[select]select的下拉选项没跟随options slot改变而变化 #495

Zwow opened this issue Mar 4, 2022 · 2 comments · Fixed by #503

Comments

@Zwow
Copy link
Contributor

Zwow commented Mar 4, 2022

重现链接

https://codesandbox.io/s/selectde-options-slotgai-bian-hou-xuan-xiang-bu-bian-bc8wer

重现步骤

使用t-option渲染选项,点击“更改options”按钮再把v-for渲染t-option的数组改变,选项没有动态改变

期望结果

t-options改变时,t-select的选项能跟随变化

实际结果

t-options改变时,t-select的选项没有跟随变化

补充说明

select的slot改变是不是没有监听到,现在slot的options 动态改变不生效,但是通过select的options这个属性穿进去是能动态改变的

Environment Info
相关版本 0.35.1
框架版本 / 基础库版本 *
系统、浏览器 *
Node版本
@chaishi
Copy link
Collaborator

chaishi commented Mar 4, 2022

监听 slot 改变?

YikaJ added a commit to YikaJ/tdesign-vue that referenced this issue Mar 5, 2022
@xiaosansiji
Copy link
Collaborator

已在 0.36.0 版本中修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants