mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
gdfgdfdfg
This commit is contained in:
@@ -502,6 +502,7 @@ export default {
|
|||||||
img: `https://avatar.spworlds.ru/face/55/${this.player.name}.png`, // Предполагаем структуру URL из имени пользователя
|
img: `https://avatar.spworlds.ru/face/55/${this.player.name}.png`, // Предполагаем структуру URL из имени пользователя
|
||||||
nickname: this.player.name,
|
nickname: this.player.name,
|
||||||
});
|
});
|
||||||
|
this.firstStartOfPage = false;
|
||||||
} else {
|
} else {
|
||||||
this.slides.push({
|
this.slides.push({
|
||||||
img: `https://avatar.spworlds.ru/face/55/${player.UserName}.png`, // Предполагаем структуру URL из имени пользователя
|
img: `https://avatar.spworlds.ru/face/55/${player.UserName}.png`, // Предполагаем структуру URL из имени пользователя
|
||||||
@@ -700,9 +701,16 @@ export default {
|
|||||||
this.startGameTimer(dataObject.CurrentGame.StartGameUtc);
|
this.startGameTimer(dataObject.CurrentGame.StartGameUtc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.updatePlayerInfo(
|
||||||
|
dataObject.LastGame.WinnerUserName,
|
||||||
|
dataObject.LastGame.WinStake,
|
||||||
|
dataObject.LastGame.WinnerPercentage
|
||||||
|
);
|
||||||
|
|
||||||
if (dataObject.CurrentGame.GameState == "Running") {
|
if (dataObject.CurrentGame.GameState == "Running") {
|
||||||
this.autoplay = 20;
|
this.autoplay = 20;
|
||||||
if (this.idCurrentGame=="") {
|
if (this.idCurrentGame == "") {
|
||||||
|
this.firstStartOfPage = true;
|
||||||
this.idCurrentGame = dataObject.CurrentGame.Id;
|
this.idCurrentGame = dataObject.CurrentGame.Id;
|
||||||
this.mapPlayersToSlides(
|
this.mapPlayersToSlides(
|
||||||
dataObject.CurrentGame.PlayerList,
|
dataObject.CurrentGame.PlayerList,
|
||||||
@@ -710,12 +718,6 @@ export default {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updatePlayerInfo(
|
|
||||||
dataObject.LastGame.WinnerUserName,
|
|
||||||
dataObject.LastGame.WinStake,
|
|
||||||
dataObject.LastGame.WinnerPercentage
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
// Если данные не определены или пусты, выводим соответствующее сообщение в консоль
|
// Если данные не определены или пусты, выводим соответствующее сообщение в консоль
|
||||||
console.log("Received undefined or null data");
|
console.log("Received undefined or null data");
|
||||||
|
|||||||
Reference in New Issue
Block a user