🎨 导出 PDF 和 Word 时支持覆盖已有文件 https://github.com/siyuan-note/siyuan/issues/5309

This commit is contained in:
Liang Ding 2022-07-20 09:23:24 +08:00
parent 85aaede426
commit e31fc65044
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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