Showing
1 changed file
with
11 additions
and
1 deletions
1 | 1 | <template> |
2 | 2 | <div v-show="dataSeries.length" ref="chartRef" :style="{ height, width }"></div> |
3 | - <div v-show="!dataSeries.length"><Empty :image="Empty.PRESENTED_IMAGE_SIMPLE" /></div> | |
3 | + <div class="empty-box" v-show="!dataSeries.length" | |
4 | + ><Empty :image="Empty.PRESENTED_IMAGE_SIMPLE" | |
5 | + /></div> | |
4 | 6 | </template> |
5 | 7 | <script lang="ts"> |
6 | 8 | import { defineComponent, PropType, ref, Ref, onMounted, toRefs } from 'vue'; |
... | ... | @@ -72,3 +74,11 @@ |
72 | 74 | }, |
73 | 75 | }); |
74 | 76 | </script> |
77 | + | |
78 | +<style> | |
79 | + .empty-box { | |
80 | + display: flex; | |
81 | + align-items: center; | |
82 | + margin: 0 120px; | |
83 | + } | |
84 | +</style> | ... | ... |