Skip to content

Commit

Permalink
重做间谍
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhaomax committed Mar 13, 2024
1 parent bba4034 commit 94d5b98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/src/pages/gaming/Gaming.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ function Gaming() {
// 所有有技能的操作完,没技能的点完验证码,时间等待结束,不在投票阶段,则切换日夜,切换后首先结算前一阶段
return !game.state.votingStep
&& !castLock
// && ready // TODO 测试时,可注释
&& ready // TODO 测试时,可注释
|| game.state.stage === 0
}

Expand Down Expand Up @@ -897,9 +897,9 @@ function Gaming() {
}
}
// TODO 测试代码 开始
const handleCaptchaCancel = () => {
setIsCaptchaModalOpen(false)
}
// const handleCaptchaCancel = () => {
// setIsCaptchaModalOpen(false)
// }
// TODO 测试代码 结束

// 游戏说明
Expand Down Expand Up @@ -961,7 +961,7 @@ function Gaming() {
{contextHolder}
</Context.Provider>
<Modal title="验证码" open={isCaptchaModalOpen}
onCancel={handleCaptchaCancel}
// onCancel={handleCaptchaCancel}
footer={null}>
<div id="CaptchaModal">
{isCaptchaModalOpen ?
Expand Down

0 comments on commit 94d5b98

Please sign in to comment.