diff --git a/src/jmapNew/shape/graph/Signal/index.js b/src/jmapNew/shape/graph/Signal/index.js index cac40d689..24f23586e 100644 --- a/src/jmapNew/shape/graph/Signal/index.js +++ b/src/jmapNew/shape/graph/Signal/index.js @@ -612,8 +612,8 @@ class Signal extends Group { } } else { this.cbtcStatus = ''; - this.lamps[0] && this.lamps[0].setColor(this.style.Signal.lamp.greenColor); - this.lamps[1] && this.lamps[1].setColor(this.style.backgroundColor); // 设置黑色 + this.lamps[1] && this.lamps[1].setColor(this.style.Signal.lamp.greenColor); + this.lamps[0] && this.lamps[0].setColor(this.style.backgroundColor); // 设置黑色 this.virtualSignal && this.virtualSignal.setColor(this.style.Signal.lamp.blueColor); if (this.style.Signal.lamp.guidName === 'doubleAndBase') { // 设置底座颜色 this.sigPost.setColor('#00FF00'); @@ -636,8 +636,8 @@ class Signal extends Group { } } else { this.cbtcStatus = ''; - this.lamps[0] && this.lamps[0].setColor(this.style.Signal.lamp.yellowColor); - this.lamps[1] && this.lamps[1].setColor(this.style.backgroundColor); + this.lamps[1] && this.lamps[1].setColor(this.style.Signal.lamp.yellowColor); + this.lamps[0] && this.lamps[0].setColor(this.style.backgroundColor); if (this.style.Signal.lamp.guidName === 'doubleAndBase') { // 设置底座颜色 this.sigPost.setColor('#00FF00'); if (this.model.logicLight) { // 设置哈尔滨逻辑点灯 颜色 diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 8b75cd8e6..bc303bcc8 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,11 +2,11 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.2.175:9000'; // 旭强 有线 // BASE_API = 'http://192.168.8.114:9000'; // 旭强 无线 - BASE_API = 'http://192.168.2.183:9000'; // 张赛 + // BASE_API = 'http://192.168.2.183:9000'; // 张赛 // BASE_API = 'http://192.168.8.140:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康