Skip to content

TreeSelect showCheckedStrategy=SHOW_ALL does not take effect #3861

@xingxinglail

Description

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

Version

2.1.0

Environment

MacOS 10.14.6 Chrome 89.0.4389.90 Vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

sss <script lang="ts"> import { ref } from 'vue'; import { TreeSelect } from 'ant-design-vue'; export default { setup () { const value = ref(); return { value, SHOW_ALL: TreeSelect.SHOW_ALL }; } }; </script>

What is expected?

配置:showCheckedStrategy="SHOW_ALL" 后,回填的方式显示所有选中节点(包括父节点)

What is actually happening?

回填只显示子节点

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions