fix: 概览界面监控 chart 样式修改

This commit is contained in:
ssongliu
2023-02-03 14:43:33 +08:00
parent 37dd3d859f
commit bfce9ffc94
6 changed files with 52 additions and 19 deletions
@@ -1,6 +1,6 @@
<template>
<div>
<el-card>
<el-card :style="{ height: height }">
<el-divider direction="vertical" />
<span style="font-size: 16px; font-weight: 700">{{ header }}</span>
<div style="margin-top: 20px"><slot name="body" /></div>
@@ -12,6 +12,7 @@
defineOptions({ name: 'CardWithHeader' });
defineProps({
header: String,
height: String,
});
</script>