Skip to content

为什么使用slot时不生效,并且报错row is not defined #116

@CharlieYi1204

Description

@CharlieYi1204

<div id="tableTree" style="padding: 10px"> <dragTreeTable ref="table" :data="treeTableData" :onDrag="onTreeDataChange" style="width: 100%;" fixed> <template #selection="{row}"> <a>添加子节点{{row}}</a> </template> </dragTreeTable> </div>

columns:[{ title: "<span style='font-weight:bold;font-size:14px'>文件名</span>", type: "selection", flex: 1, titleAlign: "left", align: "left" }]

代码是这样的

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