mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🧑💻 Push update block ID event https://github.com/siyuan-note/siyuan/issues/13434
This commit is contained in:
parent
50793ad855
commit
225adea9b6
3 changed files with 9 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/av"
|
||||
"github.com/siyuan-note/siyuan/kernel/filesys"
|
||||
"github.com/siyuan-note/siyuan/kernel/sql"
|
||||
"github.com/siyuan-note/siyuan/kernel/task"
|
||||
"github.com/siyuan-note/siyuan/kernel/treenode"
|
||||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
|
@ -612,6 +613,8 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {
|
|||
}
|
||||
|
||||
IncSync()
|
||||
|
||||
task.AppendTask(task.UpdateIDs, util.PushUpdateIDs, blockIDs)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue