mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🎨 导出 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)
|
savePath := arg["savePath"].(string)
|
||||||
err := model.ExportDocx(id, savePath)
|
err := model.ExportDocx(id, savePath)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
ret.Code = -1
|
ret.Code = 1
|
||||||
ret.Msg = err.Error()
|
ret.Msg = err.Error()
|
||||||
ret.Data = map[string]interface{}{"closeTimeout": 7000}
|
ret.Data = map[string]interface{}{"closeTimeout": 7000}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue