DevCloudFE / vue-devui

UI components based on Vue3 and DevUI Design

Home Page:https://vue-devui.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✨ [Feature]: tree使用自定义的data类型

304541805 opened this issue · comments

commented

What problem does this feature solve

我想使用自定义的data树形结构,比如后台返回的数据是[{title: 'Parent node 1'},{title: 'Parent node 1'}]而非label

What does the proposed API look like

可不可以加个自定义字段名的属性 :prop="{ label: 'title'}"