mirror of
https://github.com/insile/OpenWords.git
synced 2026-07-22 05:48:39 +00:00
2026/2/21
This commit is contained in:
parent
12d1260370
commit
99d1a59d05
2 changed files with 3 additions and 4 deletions
|
|
@ -45,8 +45,8 @@
|
|||
|
||||
点击主页中的总计也会生成单词状态索引, 其中的视图与状态栏中的统计一一对应. 该单词状态索引会在点击总计, 扫描设置以及恢复默认设置中创建. Obsidian 启动时不会更新
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
### 监听同步
|
||||
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue