From 2f573a929c85c910b61be9c383b19f1e0ee38907 Mon Sep 17 00:00:00 2001 From: lifei6671 Date: Wed, 29 Aug 2018 10:23:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/DocumentController.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/DocumentController.go b/controllers/DocumentController.go index ff92f06b..4f8e7b97 100644 --- a/controllers/DocumentController.go +++ b/controllers/DocumentController.go @@ -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, "生成项目文档树时出错")