终端报警
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user