Vanessa 2025-12-14 16:22:10 +08:00
parent 07046cae57
commit d5c2537274

View file

@ -396,6 +396,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
});
if (focusName === "av") {
dialog.element.dispatchEvent(new CustomEvent("click", {detail: "NodeAttributeView"}));
(document.activeElement as HTMLElement)?.blur();
} else if (focusName === "custom") {
dialog.element.dispatchEvent(new CustomEvent("click", {detail: "custom"}));
}