mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
修改Linux下生成pdf的BUG
This commit is contained in:
@@ -610,7 +610,7 @@ func (c *DocumentController) Export() {
|
||||
|
||||
RecursiveFun(0, "", dpath, c, book, docs, pathList)
|
||||
|
||||
defer os.RemoveAll(dpath)
|
||||
//defer os.RemoveAll(dpath)
|
||||
|
||||
os.MkdirAll("./cache", 0766)
|
||||
pdfpath := "cache/" + identify + ".pdf"
|
||||
|
||||
Reference in New Issue
Block a user