Optimize memory leaks

This commit is contained in:
JiaMing 2019-10-24 10:22:03 +08:00
parent 9b2395adf0
commit 1f1b1cb75d
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]