diff --git a/src/components/echarts/MyEchart.vue b/src/components/echarts/MyEchart.vue index 86a6b31..69f4721 100644 --- a/src/components/echarts/MyEchart.vue +++ b/src/components/echarts/MyEchart.vue @@ -103,7 +103,7 @@ const initChart = () => { type: 'inside', height: 13, start: 0, - + bottom: '20px', end: 100 }, @@ -130,7 +130,7 @@ const initChart = () => { handlerBar(options) // 处理柱状图 chart.setOption(options, true) - + chart.group = 'group' setTimeout(() => { chart.resize() }, 0) diff --git a/src/components/tree/device.vue b/src/components/tree/device.vue index 9e2f570..3327f9b 100644 --- a/src/components/tree/device.vue +++ b/src/components/tree/device.vue @@ -1,34 +1,73 @@