Commit 138ec62e37b4939a796a70c8c757a6d5e5de89b5

Authored by ww
1 parent b56aff3c

fix: fix product environment chart component can not init

Too many changes to show.

To preserve performance only 1 of 2 files are displayed.

... ... @@ -328,7 +328,7 @@
328 328 */
329 329 Sidebar.prototype.initChartInstance = function (graph) {
330 330 const basicAttr = this.enumCellBasicAttribute
331   - const allCell = graph.getDefaultParent().children
  331 + const allCell = graph.getDefaultParent().children || []
332 332 const domIdMapping = new Map()
333 333 for (const cell of allCell) {
334 334 const chartInstanceId = graph.getAttributeForCell(cell, enumConst.CHART_CELL_ID)
... ...