Open xjindf opened 10 months ago
当我子节点选中设置isopen为true时,希望自动展开父节点,但设置无效,下面是数据格式: var data = [ { "label": "安徽省", "id": "001", "children": [ { "label": "淮北市", "id": "001001" }, { "label": "马鞍山市", "id": "001002", "children": [ { "label": "花山区", "id": "001002001", "isOpen": true }, { "label": "雨山区", "id": "001002002" } ] } ] } ]
当我子节点选中设置isopen为true时,希望自动展开父节点,但设置无效,下面是数据格式: var data = [ { "label": "安徽省", "id": "001", "children": [ { "label": "淮北市", "id": "001001" }, { "label": "马鞍山市", "id": "001002", "children": [ { "label": "花山区", "id": "001002001", "isOpen": true }, { "label": "雨山区", "id": "001002002" } ] } ] } ]