优化部分显示效果

This commit is contained in:
Minho
2018-01-27 13:34:48 +08:00
parent dc2a920acc
commit 55c0854be1
7 changed files with 33 additions and 36 deletions

View File

@@ -140,10 +140,6 @@ func (c *DocumentController) Index() {
c.Data["Result"] = template.HTML(tree)
c.Data["Title"] = "概要"
c.Data["Content"] = template.HTML(blackfriday.MarkdownBasic([]byte(bookResult.Description)))
c.Data["Info"] = ""
c.Data["DocumentId"] = "0" // added by dandycheung, 2017-12-08, for exporting
beego.Info("DocumentController.Index(): c.Data[\"DocumentId\"] = ", 0)
}
// 阅读文档