This commit is contained in:
Vanessa 2024-07-06 09:57:00 +08:00
parent 9a1c02e7e4
commit 8c36764686
17 changed files with 37 additions and 38 deletions

View file

@ -132,7 +132,7 @@ ${getTypeByCellElement(item) === "block" ? ' data-detached="true"' : ""}><span c
});
let html = "";
srcIDs.forEach((id) => {
const blockCellElement = blockElement.querySelector(`[data-block-id="${id}"]`)
const blockCellElement = blockElement.querySelector(`[data-block-id="${id}"]`);
if (!blockCellElement) {
html += `<div class="av__row" data-type="ghost" data-id="${id}" data-avid="${avId}" data-previous-id="${previousId}">
${colHTML}