2026-02-06 17:22:22 +08:00
|
|
|
/*
|
|
|
|
|
* 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';
|
2026-02-06 17:22:22 +08:00
|
|
|
|
|
|
|
|
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'),
|
|
|
|
|
},
|
2026-02-06 17:22:22 +08:00
|
|
|
]
|