|
@@ -105,12 +105,12 @@ export default {
|
|
|
this.myChart.setOption(this.option);
|
|
|
},
|
|
|
resizeChar(charUuid){
|
|
|
- console.log('charUuid',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)-48+'px'})
|
|
|
- console.log('this.myChart h',h);
|
|
|
+ // console.log('this.myChart h',h);
|
|
|
|
|
|
}
|
|
|
},
|