Vanessa 2024-03-04 21:20:59 +08:00
parent ecbfb89239
commit 344a7ca950

View file

@ -49,7 +49,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
}
const created = protyle.options.history?.created;
const snapshot = protyle.options.history?.snapshot;
let newViewID = "";
let newViewID = e.getAttribute("custom-sy-av-view") || "";
if (typeof viewID === "string") {
newViewID = viewID;
fetchPost("/api/av/setDatabaseBlockView", {id: e.dataset.nodeId, viewID});