{"action":"created","issue":{"url":"https://api.github.com/repos/doramart/DoraCMS/issues/4","labels_url":"https://api.github.com/repos/doramart/DoraCMS/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/doramart/DoraCMS/issues/4/comments","events_url":"https://api.github.com/repos/doramart/DoraCMS/issues/4/events","html_url":"https://github.com/doramart/DoraCMS/issues/4","id":113307160,"number":4,"title":"关于文档管理字段--“类目”","user":{"login":"kylezhang","id":3679798,"avatar_url":"https://avatars.githubusercontent.com/u/3679798?v=3","gravatar_id":"","url":"https://api.github.com/users/kylezhang","html_url":"https://github.com/kylezhang","followers_url":"https://api.github.com/users/kylezhang/followers","following_url":"https://api.github.com/users/kylezhang/following{/other_user}","gists_url":"https://api.github.com/users/kylezhang/gists{/gist_id}","starred_url":"https://api.github.com/users/kylezhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylezhang/subscriptions","organizations_url":"https://api.github.com/users/kylezhang/orgs","repos_url":"https://api.github.com/users/kylezhang/repos","events_url":"https://api.github.com/users/kylezhang/events{/privacy}","received_events_url":"https://api.github.com/users/kylezhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T08:37:23Z","updated_at":"2015-10-26T09:47:26Z","closed_at":null,"body":"您好！\r\n想问问，能不能把后台的menu文档管理中的”类目“的内容显示为对应的name，\r\n这样做的目的是看起来更加的清晰，\r\n就像看域名比看ip要容易些；\r\n\r\n如：\r\n改修前：类目 EJFzljaw\r\n该秀后：类目 关于我"},"comment":{"url":"https://api.github.com/repos/doramart/DoraCMS/issues/comments/151083014","html_url":"https://github.com/doramart/DoraCMS/issues/4#issuecomment-151083014","issue_url":"https://api.github.com/repos/doramart/DoraCMS/issues/4","id":151083014,"user":{"login":"doramart","id":11911066,"avatar_url":"https://avatars.githubusercontent.com/u/11911066?v=3","gravatar_id":"","url":"https://api.github.com/users/doramart","html_url":"https://github.com/doramart","followers_url":"https://api.github.com/users/doramart/followers","following_url":"https://api.github.com/users/doramart/following{/other_user}","gists_url":"https://api.github.com/users/doramart/gists{/gist_id}","starred_url":"https://api.github.com/users/doramart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doramart/subscriptions","organizations_url":"https://api.github.com/users/doramart/orgs","repos_url":"https://api.github.com/users/doramart/repos","events_url":"https://api.github.com/users/doramart/events{/privacy}","received_events_url":"https://api.github.com/users/doramart/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T09:47:26Z","updated_at":"2015-10-26T09:47:26Z","body":"你好，这个地方一直没处理，有两个办法：\r\n1、添加文档入库时带上类别的名称（目前只带了ID）\r\n2、文档列表数据显示的时候，添加一个angular的扩展方法，通过类别ID查询后返回类别名称。\r\n\r\n建议使用第二种方式，至少获取的数据是新的，虽然查询耗时间。第一种方式虽然简单，但是不能保证中途会更改类别名称，你可以都尝试一下，后续我做一下优化"}}