Skip to content

When columns are used by the ADirectoryTree component, the slot-scope-supported attribute cannot be configured through this attribute #4904

@Yowi

Description

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

Version

1.7.7

Environment

MacOS、Chrome、Vue2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

ADirectoryTree 组件使用 columns 时,无法通过该属性配置支持 slot-scope 的属性,如 scopedSlots: { title: 'XXX'}

<a-directory-tree  ...  :tree-data='[{ title: "Expand to load", key: "0", scopedSlots: { title: "title" } }]' />

What is expected?

ADirectoryTree 组件使用 columns 时,scopedSlots 起效

What is actually happening?

ADirectoryTree 组件使用 columns 时,scopedSlots 不起效

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions