代码调整

This commit is contained in:
joylink_cuiweidong 2021-01-15 10:38:35 +08:00
parent 4e28468ad9
commit 04e4df6225

View File

@ -358,7 +358,7 @@ export default class Section extends Group {
this.on('mouseout', () => { // 移出
if (!this.selectedType && !this.selected && this.line ) {
this.line.setStyle({ stroke: this.style.Section.line.spareColor, lineWidth: this.style.Section.line.width });
this.line.setCross({fill:this.style.Section.cross.crossSection.fillColor});
this.line.setOrignalCross();
}
if (this.style.Switch.sectionAction.flag && this.model.relSwitchCode) {
const switchModel = Vue.prototype.$jlmap.mapDevice[this.model.relSwitchCode];