|  | @@ -94,17 +94,26 @@ export default {
 | 
	
		
			
				|  |  |        echarts.init(document.getElementById(charUuid)).clear();
 | 
	
		
			
				|  |  |        this.myChart = echarts.init(document.getElementById(charUuid));
 | 
	
		
			
				|  |  |        this.myChart.setOption(this.option);
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    resizeChar(charUuid){
 | 
	
		
			
				|  |  | +      console.log('charUuid',charUuid);
 | 
	
		
			
				|  |  | +      this.myChart = echarts.init(document.getElementById(charUuid));
 | 
	
		
			
				|  |  | +      let obj = this.$refs.wrap;
 | 
	
		
			
				|  |  | +      let h = window.getComputedStyle(obj).height;
 | 
	
		
			
				|  |  | +      this.myChart.resize({height:h.slice(0, -2)-67+'px'})
 | 
	
		
			
				|  |  | +      console.log('this.myChart h',h);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
		
			
				|  |  | -    console.log('height',this.height);
 | 
	
		
			
				|  |  | +    // console.log('height',this.height);
 | 
	
		
			
				|  |  |      let obj = this.$refs.wrap;
 | 
	
		
			
				|  |  |      let h = window.getComputedStyle(obj).height;
 | 
	
		
			
				|  |  | -    console.log('h',h);
 | 
	
		
			
				|  |  | +    // console.log('h',h);
 | 
	
		
			
				|  |  |      this.domHeight = h.slice(0, -2);
 | 
	
		
			
				|  |  | -     console.log('domHeight',this.domHeight);
 | 
	
		
			
				|  |  | -     console.log('style',this.style);
 | 
	
		
			
				|  |  | -    console.log('echarts mounted');
 | 
	
		
			
				|  |  | +    // console.log('domHeight',this.domHeight);
 | 
	
		
			
				|  |  | +    // console.log('style',this.style);
 | 
	
		
			
				|  |  | +    // console.log('echarts mounted');
 | 
	
		
			
				|  |  |      // echarts.init(document.getElementById('echarts')).dispose();//销毁前一个实例
 | 
	
		
			
				|  |  |      this.$nextTick(()=>{
 | 
	
		
			
				|  |  |        this.myChart = echarts.init(document.getElementById(this.mid));
 |