/* * @Author: levi7754 levi7754@163.com * @Date: 2023-10-10 11:31:53 * @LastEditors: levi7754 levi7754@163.com * @LastEditTime: 2023-10-10 14:21:59 * @FilePath: /sitzone-mes/src/router/modules/tabs.ts * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ const Layout = () => import('@/layout/layoutView.vue'); const tabsRouter: RouteConfigsTable = { component: Layout, path: '/tabs', meta: { icon: 'IF-pure-iconfont-tabs', title: 'message.sutabs' }, children: [ { path: '/tabs/index', name: 'Tabs', component: () => import('@/views/tabs/index.vue'), meta: { extraIcon: 'ri-calendar-2-line', title: 'message.sutabs' } }, // query 传参模式 { path: '/tabs/query-detail', name: 'TabQueryDetail', component: () => import('@/views/tabs/query-detail.vue'), meta: { // 不在menu菜单中显示 title: '', showLink: false, activePath: '/tabs/index' } }, // params 传参模式 { path: '/tabs/params-detail/:id', component: () => import('@/views/tabs/params-detail.vue'), // component: 'params-detail', name: 'TabParamsDetail', meta: { title: '', // 不在menu菜单中显示 showLink: false, activePath: '/tabs/index' } } ] }; export default tabsRouter;