bugfix--雷达图动态数据更新后预览不自动刷新数据问题

qianming 1 year ago
parent 22c5b17484
commit b833dbdc67

@ -8,6 +8,7 @@ import {targetWidgetLinkageLogic} from "@/views/bigscreenDesigner/designer/linka
import vue from "vue";
import VueSuperSlide from "vue-superslide";
vue.use(VueSuperSlide);
export default {
props: {
@ -345,7 +346,7 @@ export default {
});
legendName.push(name[i]);
}
this.options.series[0] = {
const series0 = {
type: "radar",
data: data,
symbolSize: optionsSetup.symbolSize,
@ -354,10 +355,10 @@ export default {
opacity: optionsSetup.opacity / 100,
},
},
};
}
this.$set(this.options.series, 0, series0);
this.options.legend["data"] = legendName;
this.setOptionsLegendName(legendName);
console.log(this.options.series)
},
},
};

Loading…
Cancel
Save