-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Closed
Labels
Description
Question(提问)
外链放在外面可以,多级之后会多出‘/’
{
path: '/soc',
component: Layout,
meta: {
icon: 'component',
title: 'SOC'
},
children: [
{
path: 'src',
component: () => import('@/views/soc/bsrc'),
name: 'src',
meta: { title: 'src' }
}, {
path: 'security-scanning',
component: () => import('@/views/soc/security-scanning'),
name: 'security-scanning',
meta: { title: 'securityScanning' }
},
//多出斜杠
{
path: 'https://github.com/PanJiaChen/vue-element-admin',
name: 'github-scanning',
meta: { title: 'githubScanning' }
}
]
},
// 没有问题
{
path: 'external-link',
component: Layout,
children: [
{
path: 'https://github.com/PanJiaChen/vue-element-admin',
meta: { title: 'githubScanning' }
}
]
},
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原demo)
Other relevant information(格外信息)
- Your OS:
- Node.js version:
- vue-element-admin version:
