场景设计中切了司机角色后,切不了行调

This commit is contained in:
fan 2022-11-22 17:11:54 +08:00
parent 2825615114
commit 32d97e6648
2 changed files with 2 additions and 1 deletions

View File

@ -239,7 +239,7 @@ const training = {
let memberIndex = -1;
let memberId = '';
state.simulationUserList.forEach((user, index) =>{
if (user.userId === item.userId) {
if (user.userId == item.userId) {
memberId = user.memberId;
user.online = item.online;
user.memberId = item.memberId;

View File

@ -119,6 +119,7 @@ export default {
}
},
'$store.state.socket.memberChangeCount': function () { // 仿
console.log('************');
this.initMemberUserInfo();
},
'$store.state.map.map': function (map) {