Skip to content

a-cascader 支持自定义节点内容  #7805

@Thunder7991

Description

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

What problem does this feature solve?

自定义节点内容, 更加灵活展示相关信息

What does the proposed API look like?

插槽形式,举例:
<template #default="{ node, data }">
{{ data.label }}
({{ data.children.length }})

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