This commit is contained in:
fan 2022-09-28 17:06:15 +08:00
parent 307a6e66d0
commit 0967f30d1a

View File

@ -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;