mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-22 03:50:55 +08:00
🐛 Setting flashcard expiration time does not work https://github.com/siyuan-note/siyuan/issues/12743
This commit is contained in:
parent
5e657df015
commit
8c53bc54e2
@ -312,7 +312,7 @@ export const bindCardEvent = async (options: {
|
|||||||
fetchPost("/api/riff/batchSetRiffCardsDueTime", {
|
fetchPost("/api/riff/batchSetRiffCardsDueTime", {
|
||||||
cardDues: [{
|
cardDues: [{
|
||||||
id: currentCard.cardID,
|
id: currentCard.cardID,
|
||||||
due: dayjs().day(parseInt(inputElement.value)).format("YYYYMMDDHHmmss")
|
due: dayjs().add(parseInt(inputElement.value), 'day').format("YYYYMMDDHHmmss")
|
||||||
}]
|
}]
|
||||||
}, () => {
|
}, () => {
|
||||||
actionElements[0].classList.add("fn__none");
|
actionElements[0].classList.add("fn__none");
|
||||||
|
Loading…
Reference in New Issue
Block a user