elementUI-Tree 树形控件的使用
实现效果:
控件的官方使用说明
控件要求返回的数据结构
{
"success": true,
"code": 20000,
"message": "成功",
"data": {
"items": [
{
"id": "1394579386803421185",
"title": "后端开发",
"children": [
{
"id": "1394579386803421186",
"title": "Java"
},
{
"id": "1394579386870530049",
"title": "Python"
}
]
}
]
}
}