Optimize memory leaks
This commit is contained in:
1 parent
9b2395adf0
commit
1f1b1cb75d
1 file changed
+2
-2
@@ -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]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user