feat: 新增 Account 和 Script 页面

- 添加 Account 账户页面
- 添加 Script 脚本页面
- 优化侧边栏,添加知识库数量显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 16:08:38 +08:00
parent e633462ace
commit e40e794141
4 changed files with 107 additions and 18 deletions

View File

@@ -6,8 +6,10 @@ import Team from '@/views/Team.vue'
import Skill from '@/views/Skill.vue'
import ModelAPIs from '@/views/ModelAPIs.vue'
import Database from '@/views/Database.vue'
import Script from '@/views/Script.vue'
import Knowledge from '@/views/Knowledge.vue'
import Settings from '@/views/Settings.vue'
import Account from '@/views/Account.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -47,6 +49,11 @@ const router = createRouter({
name: 'database',
component: Database
},
{
path: '/script',
name: 'script',
component: Script
},
{
path: '/knowledge',
name: 'knowledge',
@@ -56,6 +63,11 @@ const router = createRouter({
path: '/settings',
name: 'settings',
component: Settings
},
{
path: '/account',
name: 'account',
component: Account
}
]
})