ai-watch-app/components/pie/pie.vue

30 lines
531 B
Vue

<template>
<view>
<view style=" height:600rpx;background-color: #fff;"><l-echart ref="chartRef" @finished="init"></l-echart></view>
</view>
</template>
<script>
import * as echarts from '@/uni_modules/lime-echart/static/echarts.min'
export default {
name:"pie",
data() {
return {
};
},
methods:{
async init() {
// this.chart = await this.$refs.chartRef.init(echarts);
// let option = await this.getDataList();
// this.chart.setOption(option)
},
}
}
</script>
<style>
</style>