fix bug
This commit is contained in:
@@ -18,7 +18,7 @@ const data = ref({
|
||||
onLoad(async (options) => {
|
||||
if (options.battleId) {
|
||||
const result = await getGameAPI(
|
||||
options.battleId || "BATTLE-1755484626207409508-955"
|
||||
options.battleId || "BATTLE-1756453741433684760-512"
|
||||
);
|
||||
data.value = result;
|
||||
Object.values(result.bluePlayers).forEach((p, index) => {
|
||||
@@ -150,6 +150,7 @@ const onClickTab = (index) => {
|
||||
</view>
|
||||
<view
|
||||
v-if="
|
||||
selected > 0 &&
|
||||
selected >= data.goldenRounds.length &&
|
||||
selected <= data.goldenRounds.length
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user