排位房间内容完善
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user