diff --git a/simple-mind-map/src/plugins/AssociativeLine.js b/simple-mind-map/src/plugins/AssociativeLine.js index a9ac0b94..3878e3df 100644 --- a/simple-mind-map/src/plugins/AssociativeLine.js +++ b/simple-mind-map/src/plugins/AssociativeLine.js @@ -339,6 +339,10 @@ class AssociativeLine { dasharray: [6, 4] }) .fill({ color: 'none' }) + // 箭头 + this.markerPath + .stroke({ color: associativeLineColor }) + .fill({ color: associativeLineColor }) this.creatingLine.marker('end', this.marker) }