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