chore: 优化echarts图表
This commit is contained in:
parent
9fcba07d62
commit
36a937191e
@ -8,7 +8,6 @@ import { preferences } from '@vben/preferences';
|
|||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: { EchartsUI },
|
components: { EchartsUI },
|
||||||
name: 'CommandChart',
|
|
||||||
props: {
|
props: {
|
||||||
data: {
|
data: {
|
||||||
default: () => [],
|
default: () => [],
|
||||||
@ -71,9 +70,7 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex h-[400px] w-full items-center justify-center">
|
<EchartsUI ref="chartRef" height="400px" width="100%" />
|
||||||
<EchartsUI ref="chartRef" />
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
@ -8,7 +8,6 @@ import { preferences } from '@vben/preferences';
|
|||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: { EchartsUI },
|
components: { EchartsUI },
|
||||||
name: 'MemoryChart',
|
|
||||||
props: {
|
props: {
|
||||||
data: {
|
data: {
|
||||||
default: '0',
|
default: '0',
|
||||||
@ -90,9 +89,7 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex h-[400px] w-full items-center justify-center">
|
<EchartsUI ref="memoryHtmlRef" height="400px" width="100%" />
|
||||||
<EchartsUI ref="memoryHtmlRef" />
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
Loading…
Reference in New Issue
Block a user