fix:修复上传附件的BUG

This commit is contained in:
lifei6671 2018-08-29 10:23:43 +08:00
parent d005dc6680
commit 2f573a929c

View File

@ -79,7 +79,7 @@ func (c *DocumentController) Index() {
if err != nil {
if err == orm.ErrNoRows {
c.ShowErrorPage(404, "生成项目文档树时出错")
c.ShowErrorPage(404, "当前项目没有文档")
} else {
beego.Error("生成项目文档树时出错 -> ", err)
c.ShowErrorPage(500, "生成项目文档树时出错")