chroe: echarts unless import opt
This commit is contained in:
@@ -58,7 +58,6 @@
|
|||||||
// } from '@element-plus/icons-vue'
|
// } from '@element-plus/icons-vue'
|
||||||
import { reactive, toRefs, onMounted, onUnmounted ,inject } from 'vue'
|
import { reactive, toRefs, onMounted, onUnmounted ,inject } from 'vue'
|
||||||
import { request } from '@/api/api'
|
import { request } from '@/api/api'
|
||||||
// import * as echarts from "echarts"
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
@@ -69,7 +68,6 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const echart = inject('$echarts');
|
const echart = inject('$echarts');
|
||||||
// let echart = echarts;
|
|
||||||
|
|
||||||
const getStatisticData = async () => {
|
const getStatisticData = async () => {
|
||||||
const rsp = await request.get('/statistic');
|
const rsp = await request.get('/statistic');
|
||||||
|
|||||||
Reference in New Issue
Block a user