AI 回滚 EQ 时同样检查 HP-EQ 是否已开启
应用与回滚统一在 peqEnable 未开启时弹出确认框。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -699,8 +699,7 @@ export default function AIPage({ variant = "page", onClose }: AIPageProps = {})
|
|||||||
toast.error(aiText.deviceDisconnected);
|
toast.error(aiText.deviceDisconnected);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const nextApplied = !msg.applied;
|
if ((deviceState?.peqEnable ?? 0) !== 1) {
|
||||||
if (nextApplied && (deviceState?.peqEnable ?? 0) !== 1) {
|
|
||||||
setPendingApplyMsg(msg);
|
setPendingApplyMsg(msg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user