22 lines
514 B
Vue
22 lines
514 B
Vue
<template>
|
|
<div ref="chartsWarp" class="hot-charts">
|
|
<custom-echart-triangle :chart-data="data" height="100%" :option="option" />
|
|
</div>
|
|
</template>
|
|
<script setup>
|
|
import { ref, reactive, onMounted } from 'vue';
|
|
|
|
const data = ref([
|
|
{ value: 40, name: '一级', reaVal: '20' },
|
|
{ value: 80, name: '二级', reaVal: '30' },
|
|
{ value: 120, name: '三级', reaVal: '50' },
|
|
]);
|
|
const option = reactive({});
|
|
onMounted(() => {});
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.hot-charts {
|
|
height: 100%;
|
|
}
|
|
</style>
|