This commit is contained in:
zyy 2020-02-27 21:38:17 +08:00
commit 01783d5005
2 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,11 @@ function handle(state, data) {
state.equipmentStatus = msg;
break;
case 'Simulation_RunFact': // 仿真-列车实际到发车站消息
state.trainStationList = msg;
let runFactMsg = msg;
if (runFactMsg.constructor !== Array ) {
runFactMsg = [msg];
}
state.trainStationList = runFactMsg;
break;
case 'Simulation_Error': // 仿真-异常消息
state.simulationError = msg;

View File

@ -8,7 +8,7 @@ export function getBaseUrl() {
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip';
BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
} else {