Commit 391c03d4139b46b752aa50d1b70e3e286543ce17
1 parent
ed5e4986
fix: real time component componentType bind error
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
| 40 | const cell = new mxCell(template, new mxGeometry(0, 0, 180, 60), 'text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;'); | 40 | const cell = new mxCell(template, new mxGeometry(0, 0, 180, 60), 'text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;'); |
| 41 | cell.vertex = true; | 41 | cell.vertex = true; |
| 42 | this.setCellAttributes(cell, { | 42 | this.setCellAttributes(cell, { |
| 43 | - [basicAttr.COMPONENT_TYPE]: componentType.LINE, | 43 | + [basicAttr.COMPONENT_TYPE]: componentType.REAL_TIME, |
| 44 | placeholders: '1', | 44 | placeholders: '1', |
| 45 | currentDate: currentDate, | 45 | currentDate: currentDate, |
| 46 | }) | 46 | }) |