fix: dashboard 图表 get-options 传参修正
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user