初始化
This commit is contained in:
32
easyflow-ui-admin/app/src/router/routes/modules/bot.ts
Normal file
32
easyflow-ui-admin/app/src/router/routes/modules/bot.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
name: 'BotRun',
|
||||
path: '/ai/bots/run/:botId/:sessionId?',
|
||||
component: () => import('#/views/ai/bots/pages/Run.vue'),
|
||||
meta: {
|
||||
title: 'Bots',
|
||||
noBasicLayout: true,
|
||||
openInNewWindow: true,
|
||||
hideInMenu: true,
|
||||
hideInBreadcrumb: true,
|
||||
hideInTab: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'BotSetting',
|
||||
path: '/ai/bots/setting/:id',
|
||||
component: () => import('#/views/ai/bots/pages/setting/index.vue'),
|
||||
meta: {
|
||||
title: 'Bots',
|
||||
openInNewWindow: true,
|
||||
hideInMenu: true,
|
||||
hideInBreadcrumb: true,
|
||||
hideInTab: true,
|
||||
activePath: '/ai/bots',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user