Vanessa 2025-08-22 12:16:41 +08:00
parent 365c1dfb19
commit fa7ec5ab95

View file

@ -238,6 +238,8 @@ export const getGroupTitleHTML = (group: IAVView, counter: number) => {
group.groupValue.mSelect.forEach((item) => {
nameHTML += `<span class="b3-chip" style="background-color:var(--b3-font-background${item.color});color:var(--b3-font-color${item.color})">${escapeHtml(item.content)}</span>`;
});
} else if (group.groupValue.type === "checkbox") {
nameHTML = `<svg style="width:calc(1.625em - 12px);height:calc(1.625em - 12px)"><use xlink:href="#icon${group.groupValue.checkbox.checked ? "Check" : "Uncheck"}"></use></svg>`;
} else {
nameHTML = group.name;
}