mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 21:00:16 +01:00
🎨 闪卡支持设置复习上限 https://github.com/siyuan-note/siyuan/issues/7703
This commit is contained in:
parent
cdac0da928
commit
f1c55ff99b
3 changed files with 42 additions and 20 deletions
|
|
@ -196,7 +196,7 @@ export const openCardByData = (cardsData: ICard[], html = "") => {
|
|||
deckID: blocks[index].deckID,
|
||||
cardID: blocks[index].cardID,
|
||||
rating: parseInt(type),
|
||||
reviewedCardIDs: blocks
|
||||
reviewedCards: blocks
|
||||
}, () => {
|
||||
/// #if MOBILE
|
||||
if (type !== "-3" &&
|
||||
|
|
@ -213,7 +213,7 @@ export const openCardByData = (cardsData: ICard[], html = "") => {
|
|||
rootID: titleElement.getAttribute("data-id"),
|
||||
deckID: selectElement?.value,
|
||||
notebook: titleElement.getAttribute("data-notebookid"),
|
||||
reviewedCardIDs: blocks
|
||||
reviewedCards: blocks
|
||||
}, (treeCards) => {
|
||||
index = 0;
|
||||
blocks = treeCards.data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue