mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 04:50:59 +08:00
This commit is contained in:
parent
c0f738fcef
commit
a2cc2f1c13
@ -141,6 +141,8 @@ export const viewCards = (deckID: string, title: string, deckType: "Tree" | "" |
|
||||
nextElment.classList.add("b3-list-item--focus");
|
||||
target.parentElement.remove();
|
||||
}
|
||||
|
||||
dialog.element.querySelector(".counter").textContent = (parseInt(dialog.element.querySelector(".counter").textContent) - 1).toString()
|
||||
if (cb) {
|
||||
cb(removeResponse);
|
||||
}
|
||||
@ -184,6 +186,7 @@ ${unicode2Emoji(item.ial.icon, false, "b3-list-item__graphic", true)}
|
||||
</div>`;
|
||||
isFirst = false;
|
||||
} else {
|
||||
// 块被删除的情况
|
||||
listHTML += `<div data-type="card-item" class="b3-list-item${isMobile() ? "" : " b3-list-item--hide-action"}">
|
||||
<span class="b3-list-item__text">${item.content}</span>
|
||||
<span data-type="remove" data-id="${item.id}" class="b3-list-item__action b3-tooltips b3-tooltips__w" aria-label="${window.siyuan.languages.removeDeck}">
|
||||
|
Loading…
Reference in New Issue
Block a user