1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 15:40:21 +08:00

fix: 修复首页echarts图高度问题

This commit is contained in:
zclzone
2024-04-23 17:22:43 +08:00
parent 0e16cbb0a3
commit 26afddc559

View File

@@ -148,7 +148,9 @@
</div> </div>
<n-card class="mt-12" title="⚡️ 趋势" segmented> <n-card class="mt-12" title="⚡️ 趋势" segmented>
<VChart :option="trendOption" :init-options="{ height: 400 }" autoresize /> <div class="h-400">
<VChart :option="trendOption" autoresize />
</div>
</n-card> </n-card>
</AppPage> </AppPage>
</template> </template>