Skip to content

[Bug Report]表格组件使用tree 功能,异步加载子数据,row-class-name 无法设置子数据行的class #240

Open
@helloprogh

Description

@helloprogh

Environment

windows 10/chrome110/vue 3.2.36

Reproduction link

https://run.iviewui.com/dLtXiDBt

Steps to reproduce

设置table 组件,使用tree 特性,设置row-class-name,判断数据是否为子数据,子数据返回children-row,但是判断无法生效,打印出row-class-name拿到的数据,发现无子节点数据

What is expected?

table 设置tree,异步加载子节点,能够设置子节点数据

What is actually happening?

无法设置子节点数据

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions