refactor: 使用useEcharts重构缓存监控

This commit is contained in:
孟彦祖
2024-08-07 16:25:38 +08:00
parent 14a5201bc7
commit 158aa5fc1b
3 changed files with 31 additions and 32 deletions

View File

@@ -12,7 +12,13 @@ import type {
} from 'echarts/components';
import type { ComposeOption } from 'echarts/core';
import { BarChart, LineChart, PieChart, RadarChart } from 'echarts/charts';
import {
BarChart,
GaugeChart,
LineChart,
PieChart,
RadarChart,
} from 'echarts/charts';
import {
// 数据集组件
DatasetComponent,
@@ -54,6 +60,7 @@ echarts.use([
CanvasRenderer,
LegendComponent,
ToolboxComponent,
GaugeChart,
]);
export default echarts;