Fixes: Bugs fixed #10703 (#11154)

### What problem does this PR solve?

Fixes: Bugs fixed
- Removed invalid code,
- Modified the user center style,
- Added an automatic data source parsing switch.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-11 11:18:07 +08:00
committed by GitHub
parent ba6470a7a5
commit 7db6cb8ca3
43 changed files with 1201 additions and 757 deletions

View File

@ -24,7 +24,6 @@ export enum Routes {
Mcp = '/mcp',
Team = '/team',
Plan = '/plan',
System = '/system',
Model = '/model',
Prompt = '/prompt',
DataSource = '/data-source',
@ -378,10 +377,6 @@ const routes = [
path: '/user-setting/locale',
component: '@/pages/user-setting/setting-locale',
},
{
path: '/user-setting/password',
component: '@/pages/user-setting/setting-password',
},
{
path: '/user-setting/model',
component: '@/pages/user-setting/setting-model',
@ -390,17 +385,13 @@ const routes = [
path: '/user-setting/team',
component: '@/pages/user-setting/setting-team',
},
{
path: `/user-setting${Routes.System}`,
component: '@/pages/user-setting/setting-system',
},
{
path: `/user-setting${Routes.Api}`,
component: '@/pages/user-setting/setting-api',
},
{
path: `/user-setting${Routes.Mcp}`,
component: `@/pages${Routes.ProfileMcp}`,
component: `@/pages/user-setting/${Routes.Mcp}`,
},
{
path: `/user-setting${Routes.DataSource}`,