letpanlist=[{"Data":[{"FlightRouteNodeId":"dbb7d627-dc52","Path":"ZBCZSQ",},{"FlightRouteNodeId":"d41d321c-f159","Path":"ZBCZSQH34",}],"title":"ZBCZ-ZUUU"},{"Data":[{"FlightRouteNodeId":"57c391b1-03c7","Path":"ZBCZSQ",},{"FlightRouteNodeId":"43c716e5-5718","Path":"ZBCZSQH34",}],"title":"ZBCZ-ZUUU"}]这种结构,点击按钮能拿到FlightRouteNodeId,根据它取匹配这个大数组相应的数据,然后删除包含对应FlightRouteNodeId的对象,怎么写?比如我点击按钮取到了"dbb7d627-dc52",对应的就是panList[0].Data[0].FlightRouteNodeId,需求就是删除panList[0].Data[0]
慕慕森
阿波罗的战车
相关分类