mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 前端用户界面引入后台任务列表 https://github.com/siyuan-note/siyuan/issues/7117
This commit is contained in:
parent
3b9ae96dbd
commit
d95c6bd467
4 changed files with 29 additions and 0 deletions
|
|
@ -151,6 +151,10 @@ func PushStatusBar(msg string) {
|
|||
BroadcastByType("main", "statusbar", 0, msg, nil)
|
||||
}
|
||||
|
||||
func PushBackgroundTask(data map[string]interface{}) {
|
||||
BroadcastByType("main", "backgroundtask", 0, "", data)
|
||||
}
|
||||
|
||||
type BlockStatResult struct {
|
||||
RuneCount int `json:"runeCount"`
|
||||
WordCount int `json:"wordCount"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue