Vanessa 2023-11-30 23:34:45 +08:00
parent 76822c6755
commit 33585ae173

View file

@ -241,6 +241,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
return true;
} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {
if (!target.classList.contains("item--focus")) {
blockElement.removeAttribute("data-render");
avRender(blockElement, protyle, undefined, target.dataset.id);
}
event.preventDefault();