{"action":"created","issue":{"url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/484","repository_url":"https://api.github.com/repos/PanJiaChen/vue-element-admin","labels_url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/484/comments","events_url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/484/events","html_url":"https://github.com/PanJiaChen/vue-element-admin/issues/484","id":302187091,"node_id":"MDU6SXNzdWUzMDIxODcwOTE=","number":484,"title":"一级菜单 不需要二级菜单？","user":{"login":"youngchen1987","id":11566474,"node_id":"MDQ6VXNlcjExNTY2NDc0","avatar_url":"https://avatars1.githubusercontent.com/u/11566474?v=4","gravatar_id":"","url":"https://api.github.com/users/youngchen1987","html_url":"https://github.com/youngchen1987","followers_url":"https://api.github.com/users/youngchen1987/followers","following_url":"https://api.github.com/users/youngchen1987/following{/other_user}","gists_url":"https://api.github.com/users/youngchen1987/gists{/gist_id}","starred_url":"https://api.github.com/users/youngchen1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youngchen1987/subscriptions","organizations_url":"https://api.github.com/users/youngchen1987/orgs","repos_url":"https://api.github.com/users/youngchen1987/repos","events_url":"https://api.github.com/users/youngchen1987/events{/privacy}","received_events_url":"https://api.github.com/users/youngchen1987/received_events","type":"User","site_admin":false},"labels":[{"id":585238535,"node_id":"MDU6TGFiZWw1ODUyMzg1MzU=","url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-03-05T06:37:19Z","updated_at":"2018-06-25T03:51:59Z","closed_at":"2018-04-13T06:03:55Z","author_association":"NONE","body":"比如用户管理功能，有用户列表，新增用户，编辑用户  三个功能  ，但是一级菜单只显示用户列表，新增用户，编辑用户是不现实在导航上的  \r\n但是如果按照\r\n {\r\n    path: '/usermanage',\r\n    component: Layout,\r\n    name:\"user\",\r\n    redirect: 'noredirect',\r\n    meta: {  permission: 15,   title: 'usermanage',  icon: 'user'},\r\n    children: [\r\n     { path: 'index', component: _import('usermanage/index'), name:\"usermanage\", meta: {permission: 15,permissionlist: \"1501,1502,1503\" ,title: 'usermanage',icon: 'user'},},\r\n     { path: 'edit', component: _import('usermanage/edit'), hidden: true, name: 'add_user'},\r\n     { path: 'add', component: _import('usermanage/add'), hidden: true, name: 'edit_user'}\r\n    ]\r\n  },\r\n\r\n这样设置的话 就会包含二级菜单\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/comments/399823063","html_url":"https://github.com/PanJiaChen/vue-element-admin/issues/484#issuecomment-399823063","issue_url":"https://api.github.com/repos/PanJiaChen/vue-element-admin/issues/484","id":399823063,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgyMzA2Mw==","user":{"login":"xiaozhanghui","id":23646391,"node_id":"MDQ6VXNlcjIzNjQ2Mzkx","avatar_url":"https://avatars3.githubusercontent.com/u/23646391?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaozhanghui","html_url":"https://github.com/xiaozhanghui","followers_url":"https://api.github.com/users/xiaozhanghui/followers","following_url":"https://api.github.com/users/xiaozhanghui/following{/other_user}","gists_url":"https://api.github.com/users/xiaozhanghui/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaozhanghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaozhanghui/subscriptions","organizations_url":"https://api.github.com/users/xiaozhanghui/orgs","repos_url":"https://api.github.com/users/xiaozhanghui/repos","events_url":"https://api.github.com/users/xiaozhanghui/events{/privacy}","received_events_url":"https://api.github.com/users/xiaozhanghui/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T03:51:59Z","updated_at":"2018-06-25T03:51:59Z","author_association":"NONE","body":"@MaybeLin 怎么解决的，大佬。"}}
{"actor":{"display_login":"xiaozhanghui"}}