细节调整

This commit is contained in:
kron
2025-07-10 19:55:30 +08:00
parent 7972dae398
commit e764160633
10 changed files with 63 additions and 71 deletions

View File

@@ -148,9 +148,6 @@ const onBack = () => {
uni.navigateBack();
}
};
const exitRoom = async () => {
uni.navigateBack();
};
onMounted(() => {
uni.$on("socket-inbox", onReceiveMessage);
});
@@ -224,9 +221,9 @@ onUnmounted(() => {
</block>
<SModal :show="showModal" :onClose="() => (showModal = false)">
<view class="modal">
<SButton :onClick="exitRoom" width="200px" :rounded="20">
退出比赛
</SButton>
<view class="modal" :style="{ color: '#fff9' }"
>排位赛进行过程无法退出</view
>
</view>
</SModal>
</view>