feat: 新增多开标签页Demo
This commit is contained in:
@@ -313,6 +313,37 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/function',
|
||||
component: Layout,
|
||||
redirect: '/function/multipleTabs',
|
||||
name: 'Function',
|
||||
meta: {
|
||||
title: t('router.function'),
|
||||
icon: 'ri:function-fill',
|
||||
alwaysShow: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'multipleTabs',
|
||||
component: () => import('@/views/Function/MultipleTabs.vue'),
|
||||
name: 'MultipleTabs',
|
||||
meta: {
|
||||
title: t('router.multipleTabs')
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'multipleTabs-demo/:id',
|
||||
component: () => import('@/views/Function/MultipleTabsDemo.vue'),
|
||||
name: 'MultipleTabsDemo',
|
||||
meta: {
|
||||
hidden: true,
|
||||
title: t('router.details'),
|
||||
canTo: true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/hooks',
|
||||
component: Layout,
|
||||
@@ -331,16 +362,16 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
||||
meta: {
|
||||
title: 'useWatermark'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'useTab',
|
||||
component: () => import('@/views/hooks/useTab.vue'),
|
||||
name: 'UseTab',
|
||||
meta: {
|
||||
title: 'useTab'
|
||||
}
|
||||
}
|
||||
// {
|
||||
// path: 'useOpenTab',
|
||||
// component: () => import('@/views/hooks/useOpenTab.vue'),
|
||||
// name: 'UseOpenTab',
|
||||
// meta: {
|
||||
// title: 'useOpenTab'
|
||||
// }
|
||||
// }
|
||||
// {
|
||||
// path: 'useCrudSchemas',
|
||||
// component: () => import('@/views/hooks/useCrudSchemas.vue'),
|
||||
// name: 'UseCrudSchemas',
|
||||
|
||||
Reference in New Issue
Block a user