提交
This commit is contained in:
		
							parent
							
								
									3248de2bc6
								
							
						
					
					
						commit
						2049a5023c
					
				| 
						 | 
				
			
			@ -181,15 +181,7 @@ const processData = async () => {
 | 
			
		|||
 | 
			
		||||
// 初始化图表
 | 
			
		||||
const initChart = async () => {
 | 
			
		||||
  // if (chartInstance) {
 | 
			
		||||
  //   chartInstance.dispose()
 | 
			
		||||
  // }
 | 
			
		||||
 | 
			
		||||
  // const chartDom = document.getElementById("bridgeCommunityChart")
 | 
			
		||||
  // if (!chartDom) return
 | 
			
		||||
 | 
			
		||||
  // chartInstance = echarts.init(chartDom)
 | 
			
		||||
    const chartDom = document.getElementById('bridgeCommunityChart')
 | 
			
		||||
  const chartDom = document.getElementById("bridgeCommunityChart")
 | 
			
		||||
  if (!chartDom) return
 | 
			
		||||
 | 
			
		||||
  // 如果这个 DOM 上已有实例就复用,否则创建新的
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user