Commit a6248200 by zhaochengxiang

bug fi

parent 3f6af11d
......@@ -424,6 +424,7 @@ const StackedLine = ({ data }) => {
serieNames = Object.keys(data[0]).filter(item => item !== 'date')
}
console.log('serieNames', serieNames)
let option = {
tooltip: {
trigger: 'axis'
......@@ -456,7 +457,9 @@ const StackedLine = ({ data }) => {
})
})
}
echartsRef.current?.setOption(option)
echartsRef.current?.setOption(option, {
notMerge: true
})
}
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment