diff --git a/src/components/userGacha/gro-chart-calendar.vue b/src/components/userGacha/gro-chart-calendar.vue index 05b24620..871bdbe5 100644 --- a/src/components/userGacha/gro-chart-calendar.vue +++ b/src/components/userGacha/gro-chart-calendar.vue @@ -7,6 +7,7 @@ :theme="echartsTheme" :init-options="{ locale: 'ZH' }" :style="{ height: chartHeight }" + :key="`gro-chart-calendar-${echartsTheme}`" /> @@ -70,8 +71,8 @@ const curChartType = ref("overview"); } .gro-chart-container { + overflow: hidden auto; width: 100%; flex: 1; - overflow: hidden auto; }