From fe08efa74a989bfd138322b0c395679a6eeb5141 Mon Sep 17 00:00:00 2001 From: allen2fuc Date: Mon, 6 Jul 2026 15:06:20 +0800 Subject: [PATCH] =?UTF-8?q?AI=20=E5=9B=9E=E6=BB=9A=20EQ=20=E6=97=B6?= =?UTF-8?q?=E5=90=8C=E6=A0=B7=E6=A3=80=E6=9F=A5=20HP-EQ=20=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=B7=B2=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 应用与回滚统一在 peqEnable 未开启时弹出确认框。 Co-authored-by: Cursor --- client/src/pages/AIPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/pages/AIPage.tsx b/client/src/pages/AIPage.tsx index c6101b6..a059752 100644 --- a/client/src/pages/AIPage.tsx +++ b/client/src/pages/AIPage.tsx @@ -699,8 +699,7 @@ export default function AIPage({ variant = "page", onClose }: AIPageProps = {}) toast.error(aiText.deviceDisconnected); return; } - const nextApplied = !msg.applied; - if (nextApplied && (deviceState?.peqEnable ?? 0) !== 1) { + if ((deviceState?.peqEnable ?? 0) !== 1) { setPendingApplyMsg(msg); return; }