Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
a2fdb7a571
@ -170,8 +170,8 @@ class ESafeDoor extends Group {
|
||||
|
||||
}
|
||||
hide() {
|
||||
this.stand1 && this.stand1.setStyle('fill', style.transparentColor);
|
||||
this.stand2 && this.stand2.setStyle('fill', style.transparentColor);
|
||||
this.stand1 && this.stand1.hide();
|
||||
this.stand2 && this.stand2.hide();
|
||||
this.safeL && this.safeL.hide();
|
||||
this.safeC && this.safeC.hide();
|
||||
this.safeR && this.safeR.hide();
|
||||
@ -179,8 +179,8 @@ class ESafeDoor extends Group {
|
||||
this.safeB && this.safeB.hide();
|
||||
}
|
||||
show() {
|
||||
this.stand1 && this.stand1.setStyle('fill', style.StationStand.safetyDoor.defaultColor);
|
||||
this.stand2 && this.stand2.setStyle('fill', style.StationStand.safetyDoor.defaultColor);
|
||||
this.stand1 && this.stand1.show();
|
||||
this.stand2 && this.stand2.show();
|
||||
this.safeL && this.safeL.show();
|
||||
this.safeC && this.safeC.show();
|
||||
this.safeR && this.safeR.show();
|
||||
|
@ -228,9 +228,9 @@ const training = {
|
||||
setSimulationUserList: (state, simulationUserList) => {
|
||||
state.simulationUserList = simulationUserList;
|
||||
},
|
||||
updateMemberTrust:(state, {deviceCode,trust}) => {
|
||||
for(let k in state.memberData){
|
||||
if(state.memberData[k].deviceCode == deviceCode){
|
||||
updateMemberTrust:(state, {deviceCode, trust}) => {
|
||||
for (const k in state.memberData) {
|
||||
if (state.memberData[k].deviceCode == deviceCode) {
|
||||
state.memberData[k].trust = trust;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user