mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 改进数据库
This commit is contained in:
parent
39e89fc791
commit
540af4051b
2 changed files with 4 additions and 2 deletions
|
|
@ -290,8 +290,9 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
|
|||
} else {
|
||||
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${operation.avID}"]`)).forEach((item: HTMLElement) => {
|
||||
item.removeAttribute("data-render");
|
||||
const isPulse = item.querySelector(".av__pulse");
|
||||
avRender(item, protyle, () => {
|
||||
if (operation.action === "addAttrViewCol" && item.querySelector(".av__pulse")) {
|
||||
if (operation.action === "addAttrViewCol" && isPulse) {
|
||||
openMenuPanel({protyle, blockElement: item, type: "edit", colId: operation.id});
|
||||
}
|
||||
}, ["addAttrViewView", "duplicateAttrViewView"].includes(operation.action) ? operation.id :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue