chore: 构建重命名

This commit is contained in:
陈淳
2023-12-14 10:05:32 +08:00
parent 99b1deea3c
commit d4c3756f75
90 changed files with 13475 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<template>
<div class="v-chart" ref="statis"></div>
</template>
<script setup name="VisitsLineChart">
import { ref, defineEmits, defineProps, defineExpose } from "vue";
import useEcharts from "@/hooks/useEcharts";
import { statisticsEcharts } from "../hooks/echartsConfig";
const props = defineProps({
option: {
type: Object,
default: () => {},
},
});
const emits = defineEmits([
"chart-click", // 点击chart
]);
let statis = ref(null);
const { resize } = useEcharts(statis, emits, props, statisticsEcharts);
defineExpose({
resize,
});
</script>
<style scoped lang="scss">
.v-chart {
width: 100%;
height: 100%;
}
</style>