mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-04 14:41:47 +01:00
This commit is contained in:
parent
7eb6bcd59e
commit
e2815eb377
1 changed files with 2 additions and 2 deletions
|
|
@ -489,8 +489,8 @@ export class Wnd {
|
|||
} else {
|
||||
item.headElement.setAttribute("data-activetime", (new Date()).getTime().toString());
|
||||
// 更新文档浏览时间
|
||||
if (currentTab.model instanceof Editor) {
|
||||
fetchPost("/api/storage/updateRecentDocViewTime", {rootID: currentTab.model.editor.protyle.block.rootID});
|
||||
if (item.model instanceof Editor) {
|
||||
fetchPost("/api/storage/updateRecentDocViewTime", {rootID: item.model.editor.protyle.block.rootID});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue