mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 Pandoc is not initialized in some cases Fix https://github.com/siyuan-note/siyuan/issues/8533
This commit is contained in:
@@ -347,7 +347,7 @@ func exportDocx(c *gin.Context) {
|
||||
}
|
||||
err := model.ExportDocx(id, savePath, removeAssets, merge)
|
||||
if nil != err {
|
||||
ret.Code = 1
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
ret.Data = map[string]interface{}{"closeTimeout": 7000}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user