Click the map point mark to display the information window, click the view chart in the information window to pop up the echarts chart pop-up window, as if the page has been switched many times or clicked many times, there is a warning and then it collapses.
//
AMap.event.addListener(marker,"click",function(e){
console.log(e,this)
infoWindow.setContent(e.target.content);
infoWindow.open(that.map, e.target.getPosition());
//echarts
document.getElementsByClassName("showPic")[0].addEventListener("click",function(){
that.showSS = true
that.$nextTick(()=>{
that.drawLine()
})
})
I don"t understand