This commit is contained in:
Liang Ding 2023-03-22 14:44:34 +08:00
parent cdac0da928
commit f1c55ff99b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 42 additions and 20 deletions

View file

@ -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;