echarts动态更新数据后之前的数据没有销毁

vue3 +  "echarts": "^5.1.2",

import { init } from 'echarts'

const lineChart = init(lineRef.value)
lineChart.setOption(lineOption, { notMerge: true })
默认是7天的

img

选择日期后,图表上初始化的七天并没有销毁

img

lineChart.setOption(lineOption, { notMerge: true }) ---- notMerge没有用吗?

有没有可能是你的lineOption还保留着初始化时的数据