Solve the problem that when the tab switches the chart, the chart will shrink together
Add the following code to the tab switching time function
this.$nextTick(function () {
var myEvent = new Event('resize')
window.dispatchEvent(myEvent)
})