Vanessa 2024-03-01 23:02:04 +08:00
parent 1c6594f073
commit 11feb97194
4 changed files with 15 additions and 5 deletions

View file

@ -663,6 +663,7 @@ export const openMenuPanel = (options: {
id: data.viewID,
data: false
}]);
options.blockElement.querySelector(".av__title").classList.add("av__title--hide");
} else {
transaction(options.protyle, [{
action: "hideAttrViewName",
@ -675,8 +676,8 @@ export const openMenuPanel = (options: {
id: data.viewID,
data: true
}]);
options.blockElement.querySelector(".av__title").classList.remove("av__title--hide");
}
options.blockElement.querySelector(".av__title").classList.add("fn__none");
avPanelElement.remove();
event.preventDefault();
event.stopPropagation();