fix(web-console): align status cards and command history

This commit is contained in:
Miayui
2026-09-16 15:05:36 +08:00
parent 97d10c5fcd
commit d74d039044
11 changed files with 271 additions and 23 deletions
+5
View File
@@ -120,6 +120,11 @@ import { Fragment, createApp, h, nextTick, reactive } from "vue";
open: state.open,
onToggle(event) {
state.open = event.currentTarget.open;
if (!state.open) return;
const transcript = document.querySelector("#assistantMessages");
transcript?.querySelectorAll(".assistant-dispatched-controls[open]").forEach((card) => {
if (card !== event.currentTarget) card.open = false;
});
},
}, [
h("summary", null, [