实训仿真结束 退出实训界面
This commit is contained in:
parent
b05cedd44c
commit
013e667452
@ -124,6 +124,9 @@ export default {
|
|||||||
'$store.state.training.operateErrMsg': function (val) {
|
'$store.state.training.operateErrMsg': function (val) {
|
||||||
this.tipInfo({ color: val.color, message: val.errMsg });
|
this.tipInfo({ color: val.color, message: val.errMsg });
|
||||||
},
|
},
|
||||||
|
'$store.state.socket.simulationOver':function(val) {
|
||||||
|
this.back();
|
||||||
|
},
|
||||||
'$store.state.training.simulationUserList': function(val) {
|
'$store.state.training.simulationUserList': function(val) {
|
||||||
const userInfo = this.$store.state.training.simulationUserList.find(user => user.userId == this.$store.state.user.id );
|
const userInfo = this.$store.state.training.simulationUserList.find(user => user.userId == this.$store.state.user.id );
|
||||||
if (userInfo.type === 'STATION_SUPERVISOR') {
|
if (userInfo.type === 'STATION_SUPERVISOR') {
|
||||||
|
Loading…
Reference in New Issue
Block a user