Files
auto-solution/modeler/src/router/config.ts

29 lines
686 B
TypeScript
Raw Normal View History

/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2025 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
2026-02-08 15:59:14 +08:00
import { type RouteRecordRaw, type RouteRecordRedirect } from 'vue-router';
export const routes: RouteRecordRaw[] = [
2026-02-08 15:59:14 +08:00
{
name: 'index',
path: '/',
redirect: '/app/decision/designer',
meta: {
hidden: true,
},
} as RouteRecordRedirect,
{
name: 'decision-designer',
path: '/app/decision/designer',
meta: {
title: '决策树',
},
component: () => import('@/views/decision/designer.vue'),
},
]