Vanessa 2025-06-09 12:23:44 +08:00
parent 66afcafd84
commit 6670719931
6 changed files with 10 additions and 2 deletions

View file

@ -1314,6 +1314,7 @@ export const openMenuPanel = (options: {
avPanelElement.querySelector(".b3-menu__item--current")?.classList.remove("b3-menu__item--current");
target.parentElement.classList.add("b3-menu__item--current");
options.blockElement.removeAttribute("data-render");
options.blockElement.setAttribute("data-av-type", target.dataset.avType);
avRender(options.blockElement, options.protyle, undefined, target.parentElement.dataset.id);
}
event.preventDefault();