feat: 新增水球图数据变化和样式设置

This commit is contained in:
奔跑的面条
2022-05-02 23:10:47 +08:00
parent 8f5bc134f2
commit 55f59f9f2d
8 changed files with 114 additions and 19 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export const useChartDataFetch = (
PackagesCategoryEnum.CHARTS
try {
if (isECharts) {
if (isECharts && vChartRef?.value?.setOption) {
nextTick(() => {
if (vChartRef.value) {
vChartRef.value.setOption({ dataset: res.data })