竞赛 选择角色 默认选id最小的行调
This commit is contained in:
parent
d69f7f6e10
commit
241633ef53
@ -517,16 +517,16 @@ export default {
|
||||
}
|
||||
});
|
||||
if (currentPlayList.length > 0) {
|
||||
if (currentPlayList.length > 1) {
|
||||
this.currentPlayList = currentPlayList;
|
||||
this.$refs.selectRole.doShow();
|
||||
} else {
|
||||
const member = currentPlayList[0];
|
||||
const memberId = member.id;
|
||||
(this.$store.state.training.memberData[member.id] || {}).userId = this.$store.state.user.id;
|
||||
(this.$store.state.training.memberData[member.id] || {}).disabled = true;
|
||||
this.runScriptMode(memberId);
|
||||
}
|
||||
// if (currentPlayList.length > 1) {
|
||||
// this.currentPlayList = currentPlayList;
|
||||
// this.$refs.selectRole.doShow();
|
||||
// } else {
|
||||
const member = currentPlayList[0];
|
||||
const memberId = member.id;
|
||||
(this.$store.state.training.memberData[member.id] || {}).userId = this.$store.state.user.id;
|
||||
(this.$store.state.training.memberData[member.id] || {}).disabled = true;
|
||||
this.runScriptMode(memberId);
|
||||
// }
|
||||
}
|
||||
},
|
||||
runScriptMode(memberId) {
|
||||
|
Loading…
Reference in New Issue
Block a user