排位房间内容完善

This commit is contained in:
kron
2025-06-06 00:34:54 +08:00
parent 79ef6d978d
commit d1dc839e70
6 changed files with 48 additions and 47 deletions

View File

@@ -1,6 +1,7 @@
<script setup>
import { ref } from "vue";
import { ref, onMounted } from "vue";
import { onLoad } from "@dcloudio/uni-app";
import { getGameAPI } from "@/apis";
const battleId = ref("");
@@ -10,6 +11,10 @@ onLoad((options) => {
function exit() {
uni.navigateBack();
}
onMounted(async () => {
const result = await getGameAPI("BATTLE-1749121128909437828-799");
conosle.log(1111, result);
});
</script>
<template>
@@ -50,7 +55,7 @@ function exit() {
.tag {
position: absolute;
width: 32vw;
top: 4%;
top: 0;
right: 0;
}
.container > view {