From 957e5861d6673c2d4972cbe0ed4790362cb3934c Mon Sep 17 00:00:00 2001 From: wenlele Date: Sun, 6 Nov 2022 22:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=B8=E7=94=A8=E5=B7=A5=E5=85=B7=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/control/containers/control.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/control/containers/control.jsx b/web/client/src/sections/control/containers/control.jsx index c0b87f6..853052a 100644 --- a/web/client/src/sections/control/containers/control.jsx +++ b/web/client/src/sections/control/containers/control.jsx @@ -1180,7 +1180,7 @@ const Control = (props) => { border: '1px solid #F2F3F5' }} onClick={() => { - if (toolData == 0 && toolData < 10) { + if (toolData == 0 || toolData < 10) { setTool(true) }