From ea185eb6cc6964a3ef650cabde7277e5c381f0a7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Feb 2026 19:34:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E9=A1=B5=E9=9D=A2=E4=B8=AD=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=9A=84=20return=20=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复白屏问题: - 移除组件末尾的重复 return 语句 - 这些代码是死代码,导致组件无法正常渲染 Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/approval/quick-action.tsx | 33 -------------------- 1 file changed, 33 deletions(-) diff --git a/frontend/src/pages/approval/quick-action.tsx b/frontend/src/pages/approval/quick-action.tsx index 22984c5..94868f7 100644 --- a/frontend/src/pages/approval/quick-action.tsx +++ b/frontend/src/pages/approval/quick-action.tsx @@ -152,36 +152,3 @@ export default function QuickAction() { ) } - - return ( -
- {loading && ( - <> - -

处理中...

- - )} - - {status === 'success' && ( - <> -
✅
-

操作成功

- - )} - - {status === 'error' && ( - <> -
❌
-

操作失败

- - )} -
- ) -}