Initial commit
This commit is contained in:
@@ -7,9 +7,23 @@
|
||||
* that was distributed with this source code.
|
||||
*/
|
||||
|
||||
import { type RouteRecordRaw } from 'vue-router';
|
||||
import { routers } from '@/views/behaviour/router';
|
||||
import { type RouteRecordRaw, type RouteRecordRedirect } from 'vue-router';
|
||||
|
||||
export const routes: RouteRecordRaw[] = [
|
||||
...routers,
|
||||
{
|
||||
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'),
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user