细节完善
This commit is contained in:
@@ -375,7 +375,10 @@ onBeforeUnmount(() => {
|
||||
<view>
|
||||
<SButton
|
||||
: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"
|
||||
>
|
||||
@@ -387,7 +390,7 @@ onBeforeUnmount(() => {
|
||||
: "我准备好了"
|
||||
}}
|
||||
</SButton>
|
||||
<text class="tips">所有人准备后自动开始游戏。</text>
|
||||
<text class="tips">所有人准备好后由房主点击开始</text>
|
||||
</view>
|
||||
</view>
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user