chore: 限制 dify 入口进入

1. 限制 dify 入口
2. 增加图标支持
This commit is contained in:
Huangzhe
2025-04-23 17:25:16 +08:00
parent 841439a54b
commit 8e5934bfaa

View File

@@ -170,28 +170,28 @@ export default [
} }
] ]
}, },
{ // {
path: '/dify', // path: '/dify',
name: 'dify', // name: 'dify',
component: layout, // component: layout,
redirect: '/dify/workflow', // redirect: '/dify/workflow',
meta: { // meta: {
title: 'Dify', // title: 'Dify',
icon: 'icon-notebook', // icon: 'icon-notebook',
affix: true // affix: true
}, // },
children: [ // children: [
{ // {
path: '/dify/workflow', // path: '/dify/workflow',
name: 'dify-workflow', // name: 'dify-workflow',
component: () => import('@/views/dify/views/workflow/index.vue'), // component: () => import('@/views/dify/views/workflow/index.vue'),
meta: { // meta: {
title: 'Dify', // title: 'Dify',
icon: 'icon-notebook' // icon: 'icon-notebook'
} // }
} // }
] // ]
}, // },
{ {
path: '/system', path: '/system',
name: 'system', name: 'system',
@@ -218,7 +218,7 @@ export default [
component: () => import('@/views/system/menu/index.vue'), component: () => import('@/views/system/menu/index.vue'),
meta: { meta: {
title: '菜单管理', title: '菜单管理',
icon: 'el-icon-office-building' icon: 'el-icon-s-tools'
} }
}, },
{ {
@@ -238,8 +238,8 @@ export default [
component: layout, component: layout,
redirect: '/intelligentAgent/list', redirect: '/intelligentAgent/list',
meta: { meta: {
title: '智能体', title: 'AI智能体',
icon: 'el-icon-home', icon: 'icon-notebook',
affix: true affix: true
}, },
children: [ children: [
@@ -248,8 +248,8 @@ export default [
name: 'intelligentAgent-list', name: 'intelligentAgent-list',
component: () => import('@/views/intelligent-agent/index.vue'), component: () => import('@/views/intelligent-agent/index.vue'),
meta: { meta: {
title: '智能体', title: 'AI智能体',
icon: 'el-icon-home' icon: 'icon-notebook'
} }
} }
] ]