From 0555d3e82207f021fe0bf47be56892f4a810a32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=95=85=E6=99=9A?= Date: Wed, 4 Sep 2024 16:07:12 +0800 Subject: [PATCH] PullRequest: 521 fix: add disabled btn key when execute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge branch 'fix/dev-4.3.1 of git@code.alipay.com:oceanbase/oceanbase-developer-center.git into dev-4.3.1 https://code.alipay.com/oceanbase/oceanbase-developer-center/pull_requests/521 Signed-off-by: 晓康 * fix: add disabled btn key when execute --- src/component/Task/component/ActionBar/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/Task/component/ActionBar/index.tsx b/src/component/Task/component/ActionBar/index.tsx index c14f8b4f4..f9136f851 100644 --- a/src/component/Task/component/ActionBar/index.tsx +++ b/src/component/Task/component/ActionBar/index.tsx @@ -161,6 +161,7 @@ const ActionBar: React.FC = inject( }; const handleExecute = async () => { + setActiveBtnKey('execute'); const res = await executeTask(task.id); if (res) { message.success(