细节完善

This commit is contained in:
kron
2026-02-10 09:20:01 +08:00
parent a3a9f7b351
commit 61ff1af4c3

View File

@@ -375,7 +375,10 @@ onBeforeUnmount(() => {
<view> <view>
<SButton <SButton
:disabled=" :disabled="
ready || (owner.id === user.id && (room.members || []).length < 3) ready ||
(room.members || []).some(
(m) => !m.userInfo.state && m.userInfo.id !== user.id
)
" "
:onClick="getReady" :onClick="getReady"
> >
@@ -387,7 +390,7 @@ onBeforeUnmount(() => {
: "我准备好了" : "我准备好了"
}} }}
</SButton> </SButton>
<text class="tips">所有人准备后自动开始游戏</text> <text class="tips">所有人准备好后由房主点击开始</text>
</view> </view>
</view> </view>
</Container> </Container>