Explorar o código

:art: https://github.com/siyuan-note/siyuan/issues/10082

Vanessa hai 1 ano
pai
achega
ed7f0aee6e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      app/src/protyle/render/av/row.ts

+ 3 - 1
app/src/protyle/render/av/row.ts

@@ -114,9 +114,11 @@ export const insertAttrViewBlockAnimation = (protyle: IProtyle, blockElement: El
                     currentRow.querySelector(`.av__cell[data-col-id="${item.column}"]`).innerHTML =
                         renderCell(genCellValueByElement(getTypeByCellElement(sideRowCellElement), sideRowCellElement), sideRowCellElement.dataset.wrap === "true");
                 })
+                popTextCell(protyle, [currentRow.querySelector('.av__cell[data-detached="true"]')], "block");
             })
+        } else {
+            popTextCell(protyle, [currentRow.querySelector('.av__cell[data-detached="true"]')], "block");
         }
-        popTextCell(protyle, [currentRow.querySelector('.av__cell[data-detached="true"]')], "block");
     }
     const pageSize = parseInt(blockElement.getAttribute("data-page-size"));
     if (pageSize) {