mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 云端同步数据在启动后执行 https://github.com/siyuan-note/siyuan/issues/6290
This commit is contained in:
parent
b19613ea94
commit
24d41f22ad
8 changed files with 160 additions and 16 deletions
|
|
@ -662,6 +662,9 @@ func getDoc(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
// 判断是否正在同步中 https://github.com/siyuan-note/siyuan/issues/6290
|
||||
isSyncing := model.IsSyncingFile(rootID)
|
||||
|
||||
ret.Data = map[string]interface{}{
|
||||
"id": id,
|
||||
"mode": mode,
|
||||
|
|
@ -675,6 +678,7 @@ func getDoc(c *gin.Context) {
|
|||
"eof": eof,
|
||||
"box": boxID,
|
||||
"path": docPath,
|
||||
"isSyncing": isSyncing,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue