perf: echarts

This commit is contained in:
xiaoxian521
2021-04-22 17:54:29 +08:00
parent f57176dd1d
commit 7df600bea2
2 changed files with 3 additions and 33 deletions

View File

@@ -30,9 +30,9 @@
import Flop from "/@/components/Flop";
import { ref, computed, onMounted, nextTick } from "vue";
import { deviceDetection } from "/@/utils/deviceDetection";
import { echartsJson } from "/@/api/mock";
import { useEventListener, tryOnUnmounted, useTimeoutFn } from "@vueuse/core";
import * as echarts from "echarts";
import { echartsJson } from "/@/api/mock";
import echarts from "/@/plugins/echarts";
let brokenLine: any = null; //折线图实例
export default {
@@ -91,10 +91,6 @@ export default {
toolbox: {
right: 10,
feature: {
dataZoom: {
yAxisIndex: "none"
},
restore: {},
saveAsImage: {}
}
},