raintee-maputils 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5773,14 +5773,14 @@ const treeDataAdapter = (data) => {
5773
5773
  });
5774
5774
  currentNodeKey += layerName;
5775
5775
  currentNode.push({
5776
- id: i,
5776
+ id: currentNodeKey,
5777
5777
  label: layerName,
5778
5778
  fullLayerName: groups.length === 0 ? layerName : groups.join('-') + '-' + layerName,
5779
5779
  layerId: item.id,
5780
5780
  opacity: '1.0',
5781
5781
  });
5782
5782
  if (item.layout && item.layout.visibility == 'visible') {
5783
- checkedKeys.push(i);
5783
+ checkedKeys.push(currentNodeKey);
5784
5784
  }
5785
5785
  });
5786
5786
  return { treeData, checkedKeys }