js怎样将获取json转换为树形结构比如这样一段json{"name":"1级菜单1","link":"###","isleaf": false,"level&quo2023-03-17JavaScript190