Optimize memory leaks

This commit is contained in:
JiaMing 2019-10-24 10:29:07 +08:00
parent 656de3a8dd
commit 2ca217a8af
1 changed files with 2 additions and 2 deletions

View File

@ -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]