From 173fd61bda42b8bf7c11b4a0bc8f7bea3740693f Mon Sep 17 00:00:00 2001 From: Aisland Date: Wed, 2 Sep 2026 18:28:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(console):=20=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E3=80=8C=E6=81=A2=E5=A4=8D=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E3=80=8D=E4=B8=80=E5=B9=B6=E5=A4=8D=E4=BD=8D=E7=BD=91=E6=A0=BC?= =?UTF-8?q?=E7=BA=BF=E5=BC=80=E5=85=B3=EF=BC=88=E5=9B=9E=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=BC=80=EF=BC=89=E2=80=94=E2=80=94=E8=A1=A5=E5=85=A8=E7=85=A7?= =?UTF-8?q?=E7=89=87=E6=A8=A1=E5=BC=8F=E9=81=97=E6=BC=8F=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_content/lib/client.js | 2 ++ 01_content/src/client/split.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/01_content/lib/client.js b/01_content/lib/client.js index fcb7515..84e10f0 100644 --- a/01_content/lib/client.js +++ b/01_content/lib/client.js @@ -18411,6 +18411,8 @@ function ConsolePane() { } else { setPhotoHslState({ h: 0, s: 100, l: 100 }); if (photoId) splitEnv?.console?.setPhotoHsl?.(photoId, { h: 0, s: 100, l: 100 }); + setPhotoGridState(true); + splitEnv?.console?.setPhotoGrid?.(true); } }; (0, import_react.useLayoutEffect)(() => { diff --git a/01_content/src/client/split.tsx b/01_content/src/client/split.tsx index 2960da8..04a24c0 100644 --- a/01_content/src/client/split.tsx +++ b/01_content/src/client/split.tsx @@ -1828,6 +1828,8 @@ function ConsolePane() { } else { setPhotoHslState({ h: 0, s: 100, l: 100 }) if (photoId) splitEnv?.console?.setPhotoHsl?.(photoId, { h: 0, s: 100, l: 100 }) + // 照片网格线开关一并复位为默认「开」 + setPhotoGridState(true); splitEnv?.console?.setPhotoGrid?.(true) } } useLayoutEffect(() => {