diff --git a/src/jmapNew/shape/graph/StationStand/EReentry.js b/src/jmapNew/shape/graph/StationStand/EReentry.js index 4ebcbc31f..1d3fa74e5 100644 --- a/src/jmapNew/shape/graph/StationStand/EReentry.js +++ b/src/jmapNew/shape/graph/StationStand/EReentry.js @@ -38,7 +38,7 @@ class EReentry extends Group { setColor(color) { this.create(); - this.reentry.setStyle('textFill', color); + this.reentry.setStyle('fill', color); } hideMode() { @@ -56,16 +56,16 @@ class EReentry extends Group { setState(model) { const style = this.model.style; - let reentryStrategy = ''; - if (model.reentryStrategy !== '04') { - reentryStrategy = model.reentryStrategy; + let typeStrategy = ''; + if (model.typeStrategy !== '04') { + typeStrategy = model.typeStrategy; } else { - reentryStrategy = model.defaultReentryStrategy; + typeStrategy = model.defaultReentryStrategy; } - switch (reentryStrategy) { + switch (typeStrategy) { case 'DEFAULT': /** 默认*/ case 'NONE': { - this.reentry && this.reentry.hideMode(); /** 无折返策略*/ + this.reentry && this.hideMode(); /** 无折返策略*/ break; } case 'UNMANNED': {