master
parent
ce4045a4b1
commit
5a6e5c6820
|
@ -144,7 +144,7 @@ function receiveMessage(event)
|
||||||
// 切换领舞
|
// 切换领舞
|
||||||
|
|
||||||
// 当前领舞人
|
// 当前领舞人
|
||||||
let leaderIndex = adminList.indexOf(leader['name'])
|
let leaderIndex = adminList.indexOf(currentLeader['name'])
|
||||||
let newLeader
|
let newLeader
|
||||||
if (leaderIndex == -1) {
|
if (leaderIndex == -1) {
|
||||||
newLeader = adminList[0]
|
newLeader = adminList[0]
|
||||||
|
|
Loading…
Reference in New Issue