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);
|
||||
return;
|
||||
}
|
||||
const nextApplied = !msg.applied;
|
||||
if (nextApplied && (deviceState?.peqEnable ?? 0) !== 1) {
|
||||
if ((deviceState?.peqEnable ?? 0) !== 1) {
|
||||
setPendingApplyMsg(msg);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user