src/components/subComponents/SystemInfo.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/subComponents/eChartsBar.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/subComponents/SystemInfo.vue
@@ -75,7 +75,7 @@ </li> </ul> </div>--> <div class="eCharts-box" > <div class="eCharts-box" v-if="PollData.barCharts.length>0"> <eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar> </div> </div> @@ -125,7 +125,8 @@ initCpuCharts() { this.$forceUpdate(); } }, } } </script> <style lang="scss"> src/components/subComponents/eChartsBar.vue
@@ -161,12 +161,14 @@ } ] } this.eChartsObj = echarts.init(this.$refs.cpuMenery); this.eChartsObj.setOption(options); }, windowSizeChange() { this.eChartsObj.resize(); }, } } }; </script>