src/views/index/center-bottom.vue
@@ -17,7 +17,6 @@ }); }; const setOption =async (newData: any) => { await nextTick() option.value = { tooltip: { trigger: "axis", @@ -150,7 +149,10 @@ ], }; }; onMounted(()=>{ getData(); }) </script> <template>