mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
🎨 状态栏实时统计文档信息 https://github.com/siyuan-note/siyuan/issues/6036
This commit is contained in:
parent
ae8ce006ba
commit
a772b47287
6 changed files with 36 additions and 11 deletions
|
|
@ -12,7 +12,7 @@ import {addBaseURL, setNoteBook} from "./util/pathName";
|
|||
import {openFileById} from "./editor/util";
|
||||
import {
|
||||
bootSync,
|
||||
downloadProgress,
|
||||
downloadProgress, handleStatusbarCounter,
|
||||
progressLoading,
|
||||
progressStatus,
|
||||
setTitle,
|
||||
|
|
@ -48,6 +48,8 @@ class App {
|
|||
case"statusbar":
|
||||
progressStatus(data);
|
||||
break;
|
||||
case"statusbarCounter":
|
||||
handleStatusbarCounter(data)
|
||||
case"downloadProgress":
|
||||
downloadProgress(data.data);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue