feat(web): AI对话框增加图表显示

支持Mermaid、EChart、Chart.js
This commit is contained in:
2025-06-08 02:42:05 +08:00
parent 4fe21f3d8b
commit c04269c3fa
6 changed files with 1775 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ import Version from './pages/overview/Version.tsx'
import Yarn from './pages/overview/Yarn.tsx'
import YarnCluster from './pages/overview/YarnCluster.tsx'
import {commonInfo} from './util/amis.tsx'
import Test from './pages/Test.tsx'
export const routes: RouteObject[] = [
{
@@ -109,6 +110,10 @@ export const routes: RouteObject[] = [
},
],
},
{
path: 'test',
Component: Test,
}
],
},
]