This commit is contained in:
Qiuxia Fan 2022-07-19 10:12:18 +08:00
parent b8c47764e2
commit a21526543d

View File

@ -30,7 +30,6 @@ import {
import type { PropType } from "vue"; import type { PropType } from "vue";
import { useECharts } from "@/hooks/useEcharts"; import { useECharts } from "@/hooks/useEcharts";
import { addResizeListener, removeResizeListener } from "@/utils/event"; import { addResizeListener, removeResizeListener } from "@/utils/event";
import { remove } from "lodash";
/*global Nullable, defineProps, defineEmits*/ /*global Nullable, defineProps, defineEmits*/
const emits = defineEmits(["select"]); const emits = defineEmits(["select"]);
@ -97,7 +96,6 @@ onMounted(async () => {
return; return;
} }
const series = props.option.series; const series = props.option.series;
console.log(event);
for (const temp of series) { for (const temp of series) {
if (temp.markArea) { if (temp.markArea) {
delete temp.markArea; delete temp.markArea;
@ -166,7 +164,7 @@ watch(
} }
instance.dispatchAction({ instance.dispatchAction({
type: "showTip", type: "showTip",
dataIndex: props.filters.dataIndex || undefined, dataIndex: props.filters.dataIndex,
seriesIndex: 0, seriesIndex: 0,
}); });
} }