feat: add function of link for out website in menu; #135

新增:菜单增加外链功能;
This commit is contained in:
iczer
2020-10-18 19:26:07 +08:00
parent b021ce4f0b
commit c4e81a1a61
4 changed files with 60 additions and 22 deletions

View File

@@ -18,7 +18,21 @@ Mock.mock(`${process.env.VUE_APP_API_BASE_URL}/routes`, 'get', () => {
router: 'basicForm',
name: '验权表单',
icon: 'file-excel',
authority: 'form'
authority: 'queryForm'
},
{
router: 'antdv',
path: 'antdv',
name: 'Ant Design Vue',
icon: 'ant-design',
link: 'https://www.antdv.com/docs/vue/introduce-cn/'
},
{
router: 'document',
path: 'document',
name: '使用文档',
icon: 'file-word',
link: 'https://iczer.gitee.io/vue-antd-admin-docs/'
}
]
}]