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