我有这样的 JSON 数据:
{
"name": "OSS Applications",
"children": [
{
"name": "ELITE 3E",
"children": [
{"name": "Elite 3E Mobile Gateway"},
{"name": "Elite 3E Mobile Website"},
{"name": "Elite 3E Mobile Application"}
]
},
{
"name": "WESTLAW DOC & FORM BUILDER",
"children": [
{"name": "Cobalt Website WFB"},
{"name": "Cobalt Static Content WFB"},
{"name": "Cobalt Search WFA"},
{"name": "Cobalt Forms Assembly WFB"},
{"name": "Cobalt Foldering WFB"}
]
},
{
"name": "FINDLAW.COM",
"children": [
{"name": "Findlaw-Infirmation"},
{"name": "Findlaw-hippocms"},
{"name": "Findlaw-Lawyers Directory"},
{"name": "Findlaw-ProfileUpdate"},
{"name": "Findlaw-Pview"},
{"name": "Findlaw-RCMS"},
{"name": "Findlaw-public-channel"}
]
}
]
}
我想为应用程序“ELITE 3E”、“WESTLAW DOC & FORM BUILDER”和“FINDLAW.com”添加一个 url 链接。我怎么做?我正在尝试复制可折叠的缩进树。mbostock 的块 #1093025