From 3192cb814ededa20a1ac838c8843efc8f0172ac5 Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 24 Jul 2025 16:13:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E7=9F=AD=E6=9A=82?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E4=BB=A5=E7=A1=AE=E4=BF=9D=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E8=B7=B3=E8=BD=AC=E5=AE=8C=E6=88=90=E5=90=8E=E7=AB=8B?= =?UTF-8?q?=E5=8D=B3=E5=8F=96=E6=B6=88=E9=80=89=E6=8B=A9=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=B8=B4=E6=97=B6=E7=82=B9=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/useViewState.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/services/useViewState.ts b/src/services/useViewState.ts index 9831161..f63d6b1 100644 --- a/src/services/useViewState.ts +++ b/src/services/useViewState.ts @@ -223,6 +223,11 @@ export function useViewState() { // 跳转到临时点 editor.gotoById(centerPointId); + // 立即取消选择,避免右侧卡片显示临时点信息 + setTimeout(() => { + editor.inactive(); + }, 10); // 短暂延迟确保跳转完成 + // 延迟清理临时点(保存时已自动过滤,这里只是为了清理画布显示) setTimeout(() => { const remainingPoints = editor