更新后刷新配置到设备

This commit is contained in:
allen2fuc
2026-05-12 11:14:27 +08:00
parent ae4ce8bb07
commit 2b1c69460f
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -586,6 +586,7 @@ export default function AIPage({ variant = "page", onClose }: AIPageProps = {})
},
});
await updateMessageApplied(msg.id, nextApplied);
await api.refreshState();
setMessages((prev) =>
prev.map((m) =>
m.kind === "optimize" && m.id === msg.id