终端报警

This commit is contained in:
zhaotiantian
2023-11-24 14:58:59 +08:00
parent 255f7a078c
commit a3c85846fc
4 changed files with 126 additions and 39 deletions
+4 -1
View File
@@ -40,7 +40,7 @@ function initChart(xData,ydata){
top: '10%',
left:'8%',
right:'8%',
bottom: '14%'
bottom: '20%'
},
xAxis: {
type: 'category',
@@ -82,6 +82,9 @@ function initChart(xData,ydata){
]
}
myChart.setOption(options)
window.addEventListener('resize', () => {
myChart.resize();
});
}
</script>
<style scoped lang="less">