文字样式修改

This commit is contained in:
kron
2025-08-20 13:53:14 +08:00
parent 12dbe2d05b
commit 22a9fe56c0
5 changed files with 9 additions and 8 deletions

View File

@@ -22,8 +22,8 @@ watch(
() => tips.value,
(newVal) => {
let key = "";
if (newVal.includes("红队")) key = "请红方射";
if (newVal.includes("蓝队")) key = "请蓝方射";
if (newVal.includes("红队")) key = "请红方射";
if (newVal.includes("蓝队")) key = "请蓝方射";
if (key && sound.value) {
if (currentRoundEnded.value) {
currentRoundEnded.value = false;
@@ -56,7 +56,6 @@ async function onReceiveMessage(messages = []) {
currentSound.value = msg.target.ring
? `${msg.target.ring}`
: "未上靶";
console.log(currentSound.value);
audioManager.play(currentSound.value);
}
} else if (msg.constructor === MESSAGETYPES.AllReady) {