diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 0044fe306..b78286c05 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -71,11 +71,11 @@ export default { '$store.state.socket.memberChangeCount': function () { // 仿真成员变更 this.initMemberUserInfo(); }, - '$store.state.socket.simulationRoleList': function (val) { - if (val && val.length) { - this.handlerMemberOnOff(val); - } - }, + // '$store.state.socket.simulationRoleList': function (val) { + // if (val && val.length) { + // this.handlerMemberOnOff(val); + // } + // }, '$store.state.map.map': function (map) { try { if (map) { @@ -137,9 +137,9 @@ export default { clearSubscribe(getTopic('CTC', this.group)); } }, - handlerMemberOnOff(data) { // 处理仿真成员上下线 - this.$store.dispatch('training/updateMemberAndUser', {simulationUserList: data, userId: this.userId}); - }, + // handlerMemberOnOff(data) { // 处理仿真成员上下线 + // this.$store.dispatch('training/updateMemberAndUser', {simulationUserList: data, userId: this.userId}); + // }, pictureChange(val) { console.log(val, '1111'); this.picture = val;