chroe: echarts unless import opt

This commit is contained in:
engigu
2024-01-25 11:39:16 +08:00
parent f7f8c2d35d
commit 459b28e173
@@ -58,7 +58,6 @@
// } from '@element-plus/icons-vue'
import { reactive, toRefs, onMounted, onUnmounted ,inject } from 'vue'
import { request } from '@/api/api'
// import * as echarts from "echarts"
export default {
setup() {
@@ -69,7 +68,6 @@ export default {
});
const echart = inject('$echarts');
// let echart = echarts;
const getStatisticData = async () => {
const rsp = await request.get('/statistic');