diff --git a/client/src/pages/AIPage.tsx b/client/src/pages/AIPage.tsx index c353e01..91b2f98 100644 --- a/client/src/pages/AIPage.tsx +++ b/client/src/pages/AIPage.tsx @@ -690,7 +690,11 @@ export default function AIPage({ variant = "page", onClose }: AIPageProps = {}) }, }); await updateMessageApplied(msg.id, nextApplied); - await api.refreshState(); + try { + await api.refreshState(); + } catch { + // 部分固件不支持该刷新接口,不影响本次应用/回滚已经成功的结果 + } setMessages((prev) => prev.map((m) => m.kind === "optimize" && m.id === msg.id