细节调整
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user