Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art:

Vanessac72a4ead7e57
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 9e328e3653..faaa1d21ef 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -162,7 +162,7 @@ export const bindCardEvent = (options: {
}
options.element.setAttribute("data-key", window.siyuan.config.keymap.general.riffCard.custom);
const countElement = options.element.querySelector('[data-type="count"]');
- countElement.innerHTML = `${options.index + 1}/${options.blocks.length}`;
+ countElement.innerHTML = `${index + 1}/${options.blocks.length}`;
const actionElements = options.element.querySelectorAll(".card__action");
const filterElement = options.element.querySelector('[data-type="filter"]');
const fetchNewRound = () => {