Problem scenario: When echarts are integrated into tabs, by default the first TAB selected will load the echarts chart normally, but switching other tabs will not render the echarts chart of other tabs

Write a fixed width to the div of the second TAB, and it will display normally, but it will lose the page adaptation effect. The echarts icon of the second TAB of the TAB can be automatically displayed:

<div id="gauge2" style="height: 335px; background: #fff;" ></div> <div id="gauge" style="height: 335px; background: #fff;" ></div> js: jQuery(".slidetxtBox ").slide({// I'm using superslide library endFun: Function (I, c, s) {/ / endFUn function representing each switching effect at the end of the executive function $(' # the gauge). The resize () $(' # gauge2). The resize ()}});Copy the code

How did nuggets not upload file function?? Full code review required