西安三现地问题 24 没有折返标识
This commit is contained in:
parent
1f9482e3da
commit
752459c44d
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user