[ECharts] Component legend(‘XX’) is used but not imported.
解决:
import { LegendComponent } from 'echarts/components';
echarts.use([LegendComponent]);
import { LegendComponent } from 'echarts/components';
echarts.use([LegendComponent]);
2024-06-22 10:06:47
2024-06-22 10:06:35
2024-06-22 10:06:20
2024-06-22 10:06:36
2024-06-22 10:06:27
2024-06-22 10:06:10
2024-06-22 10:06:05
2024-06-22 10:06:05
2024-06-22 10:06:49
2024-06-22 10:06:46