代码调整

This commit is contained in:
joylink_cuiweidong 2022-10-25 15:18:22 +08:00
parent 6d20dcb132
commit 21b526bce0

View File

@ -174,7 +174,6 @@ export default {
this.simulationUserList = val;
},
'$store.state.training.memberList': function (val) {
debugger;
if (val && val.length) {
this.memberData = this.$store.state.training.memberData;
const dispatcherList = [];
@ -361,6 +360,11 @@ export default {
this.checkRoleChange(list);
}
}
// '$store.state.socket.simulationRoleList':function(val) {
// if (val && val.length) {
// this.handlerMemberOnOff(val);
// }
// }
},
mounted() {
},
@ -430,6 +434,7 @@ export default {
this.$store.dispatch('training/setRoles', userRole);
// this.deviceCode = item.deviceCode;
// this.setSimulationPrdType(this.centralizedStationMap[item.deviceCode]);
this.$store.dispatch('training/updateMemberAndUser', { simulationUserList: [item], userId: this.userId });
}
});
}