From abd95a6231378ee4742e07a3b6638a457d678ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 18 Sep 2026 16:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=99=A4=E5=A4=8D=E5=88=B6=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=9C=AA=E5=A4=84=E7=90=86=E6=8B=92=E7=BB=9D=20?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=A4=B1=E8=B4=A5=E4=BB=85=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E9=94=99=E8=AF=AF=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/view/ui-editor/components/UiEditorCopyPathButton.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/components/UiEditorCopyPathButton.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/components/UiEditorCopyPathButton.tsx index 16322d05f..ea19e48bf 100644 --- a/apps/ai-game-creator-shell/src/view/ui-editor/components/UiEditorCopyPathButton.tsx +++ b/apps/ai-game-creator-shell/src/view/ui-editor/components/UiEditorCopyPathButton.tsx @@ -18,9 +18,8 @@ export function UiEditorCopyPathButton({ try { await writeText(relativePath); setCopyState('copied'); - } catch (error) { + } catch { setCopyState('failed'); - throw error; } }