Optimize memory leaks
This commit is contained in:
parent
656de3a8dd
commit
2ca217a8af
|
@ -174,7 +174,7 @@ export default {
|
|||
|
||||
const option = getRingOption()
|
||||
|
||||
chart.setOption(option)
|
||||
chart.setOption(option, true)
|
||||
|
||||
ringAnimation()
|
||||
},
|
||||
|
@ -236,7 +236,7 @@ export default {
|
|||
}
|
||||
})
|
||||
|
||||
chart.setOption(option)
|
||||
chart.setOption(option, true)
|
||||
|
||||
const { activeTimeGap } = option.series[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue