123456789101112131415161718 |
- <template>
- <Charts :width="width" :height="height" :echarts-options="options" :loading="loading"></Charts>
- </template>
- <script setup lang="ts">
- import { defineProps } from "vue";
- import Charts from '@/components/Charts/Charts.vue';
- import { basicLineProps } from "./props";
- import { useChartOptions } from "@/components/Charts/hooks/useChartOptions";
- const props = defineProps(basicLineProps);
- const { options, loading } = useChartOptions(props);
- </script>
- <style scoped></style>
|