fix: dashboard 图表 get-options 传参修正

This commit is contained in:
lik
2026-11-10 15:14:10 +08:00
parent 087f177a14
commit f63c3fe216
+2 -2
View File
@@ -33,7 +33,7 @@
<div v-if="loading" class="text-center py-5">
<BSpinner variant="primary" />
</div>
<EChart v-else :get-options="trendOptions" :extensions="CHART_EXTENSIONS" style="height: 280px; width: 100%" />
<EChart v-else :get-options="() => trendOptions" :extensions="CHART_EXTENSIONS" style="height: 280px; width: 100%" />
</BCardBody>
</BCard>
</BCol>
@@ -47,7 +47,7 @@
<div v-if="loading" class="text-center py-5">
<BSpinner variant="primary" />
</div>
<EChart v-else :get-options="statusOptions" :extensions="CHART_EXTENSIONS" style="height: 280px; width: 100%" />
<EChart v-else :get-options="() => statusOptions" :extensions="CHART_EXTENSIONS" style="height: 280px; width: 100%" />
</BCardBody>
</BCard>
</BCol>