Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix #38

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 52 additions & 50 deletions mock/navlist.js
Original file line number Diff line number Diff line change
@@ -1,89 +1,91 @@
var data = [
{
path: '/home',
name: '首页'
path: "/home",
name: "我的工作台",
},
{
name: '系统组件',
name: "业务中心",
child: [
{
name: '介绍',
path: '/components'
name: "介绍",
path: "/components",
},
{
name: '功能类',
name: "功能类",
child: [
{
path: '/components/permission',
name: '详细鉴权'
path: "/components/permission",
name: "详细鉴权",
},
{
path: '/components/pageTable',
name: '表格分页'
}
]
path: "/components/pageTable",
name: "表格分页",
},
],
},
{
name: '布局类',
name: "布局类",
child: [
{
path: '/components/pageTitle',
name: '页面标题'
path: "/components/pageTitle",
name: "页面标题",
},
{
path: '/components/pageSection',
name: '子区域'
path: "/components/pageSection",
name: "子区域",
},
{
path: '/components/pageSearch',
name: '搜索条'
path: "/components/pageSearch",
name: "搜索条",
},
{
path: '/components/pageToolbar',
name: '工具条'
}
]
path: "/components/pageToolbar",
name: "工具条",
},
],
},
{
name: '辅助类',
name: "辅助类",
child: [
{
path: '/components/pageNotes',
name: '引用说明'
}
]
}
]
path: "/components/pageNotes",
name: "引用说明",
},
],
},
],
},
{
name: '完整示例',
name: "消息中心",
child: [
{
path: '/example/table',
name: '列表页面',
permission: ['edit']
path: "/example/table",
name: "列表页面",
permission: ["edit"],
},
{
path: '/example/charts',
name: '图表页面'
path: "/example/charts",
name: "图表页面",
},
{
path: '/example/map',
name: '地图页面'
}
]
path: "/example/map",
name: "地图页面",
},
],
},
{
path: '/i18n',
name: '国际化'
path: "/i18n",
name: "待办中心",
},
{
path: '/theme',
name: '主题切换'
}
]
path: "/theme",
name: "授权中心",
},
];

export default [{
path: '/user/navlist',
data: data
}]
export default [
{
path: "/user/navlist",
data: data,
},
];
Loading