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

tree 树形组件 slot-scope selected 无效 #1901

Closed
1 task
webrtcn opened this issue Mar 19, 2020 · 3 comments
Closed
1 task

tree 树形组件 slot-scope selected 无效 #1901

webrtcn opened this issue Mar 19, 2020 · 3 comments
Labels

Comments

@webrtcn
Copy link

webrtcn commented Mar 19, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.12

Environment

os: macOS vue: 2.6.11

Reproduction link

#223

https://codesandbox.io/s/naughty-shadow-jcfvw

Steps to reproduce

官方网站 https://www.antdv.com/components/tree-cn/ 自定义图标部分选中不能自动切换图标

<template slot="custom" slot-scope="{selected}">
<a-icon :type="selected ? 'frown':'frown-o'" />
</template>

selected = undefined

What is expected?

selected 能正常获取到值

What is actually happening?

selected 不能正常获取到值

@tangjinzhou
Copy link
Member

1a61d1f
等 1.5.0-rc.5

@Flourad
Copy link

Flourad commented Oct 30, 2020

1a61d1f
等 1.5.0-rc.5

更新到最新版本 还是取不到selected

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants