bug修复
This commit is contained in:
@@ -291,6 +291,7 @@ const simulShoot2 = async () => {
|
||||
.hit > text {
|
||||
transform: scaleX(0.7);
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.header {
|
||||
width: 100%;
|
||||
|
||||
@@ -77,6 +77,7 @@ onLoad(async (options) => {
|
||||
if (battleInfo) {
|
||||
battleId.value = battleInfo.id;
|
||||
start.value = true;
|
||||
step.value = 3;
|
||||
if (battleInfo.config.mode === 1) {
|
||||
redTeam.value = battleInfo.redTeam;
|
||||
blueTeam.value = battleInfo.blueTeam;
|
||||
|
||||
@@ -39,7 +39,7 @@ const toPage = (path) => {
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
if (!user.value.trio) {
|
||||
if ("/pages/first-try".indexOf(path) === -1 && !user.value.trio) {
|
||||
return uni.showToast({
|
||||
title: "请先完成新手试炼",
|
||||
icon: "none",
|
||||
|
||||
@@ -42,7 +42,7 @@ function createWebSocket(token, onMessage) {
|
||||
// 约战
|
||||
if (battleInfo.config.battleMode === 1) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/team-match?battleId=${battleInfo.id}`,
|
||||
url: `/pages/battle-room?battleId=${battleInfo.id}`,
|
||||
});
|
||||
}
|
||||
// 排位
|
||||
|
||||
Reference in New Issue
Block a user