2026/2/21

This commit is contained in:
项阳 2026-02-21 15:19:58 +08:00
parent 12d1260370
commit 99d1a59d05
2 changed files with 3 additions and 4 deletions

View file

@ -45,8 +45,8 @@
点击主页中的总计也会生成单词状态索引, 其中的视图与状态栏中的统计一一对应. 该单词状态索引会在点击总计, 扫描设置以及恢复默认设置中创建. Obsidian 启动时不会更新
![p5](5.png)
![p6](6.gif)
![p5](README/5.png)
![p6](README/6.gif)
### 监听同步

View file

@ -355,8 +355,7 @@ export default class OpenWords extends Plugin {
const tags: string[] = frontMatter.tags || [];
for (const level of levelConfigs) {
if (tags.includes(level.tag)) {
levelWordCounts[level.tag]++;
}
levelWordCounts[level.tag] = (levelWordCounts[level.tag] ?? 0) + 1; }
}
});