🎨 导出 PDF 和 Word 时支持覆盖已有文件 https://github.com/siyuan-note/siyuan/issues/5309
This commit is contained in:
parent
85aaede426
commit
e31fc65044
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func exportDocx(c *gin.Context) {
|
|||
savePath := arg["savePath"].(string)
|
||||
err := model.ExportDocx(id, savePath)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Code = 1
|
||||
ret.Msg = err.Error()
|
||||
ret.Data = map[string]interface{}{"closeTimeout": 7000}
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue