Vanessa 2023-12-01 10:50:37 +08:00
parent 03831ef891
commit ea6acffb46
2 changed files with 40 additions and 7 deletions

View file

@ -242,7 +242,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")) {
openViewMenu(target)
openViewMenu({protyle, blockElement, element:target})
} else {
blockElement.removeAttribute("data-render");
avRender(blockElement, protyle, undefined, target.dataset.id);