diff --git a/src/jmapNew/shape/Switch/index.js b/src/jmapNew/shape/Switch/index.js index ab34b4001..c78835b3a 100644 --- a/src/jmapNew/shape/Switch/index.js +++ b/src/jmapNew/shape/Switch/index.js @@ -512,7 +512,11 @@ export default class Switch extends Group { section.hide(); } } - + setAshShow() { + this.shapeModelA.setColor('#7F7F7F'); + this.shapeModelB.setColor('#7F7F7F'); + this.shapeModelC.setColor('#7F7F7F'); + } setState(model) { if (!this.isShowShape) return; this.recover(); @@ -545,6 +549,7 @@ export default class Switch extends Group { sectionB && sectionB.instance && sectionB.instance.setState(sectionB); } } + model.noStatus && this.setAshShow(); } getBoundingRect() {