修复黔西南异常
This commit is contained in:
@@ -99,7 +99,6 @@
|
||||
</div>
|
||||
<ai-echart-v2
|
||||
style="height: 220px; width: 100%; margin-top: 10px;"
|
||||
:ref="'chart2'"
|
||||
:data="lineData9"
|
||||
:ops="barChart9">
|
||||
</ai-echart-v2>
|
||||
@@ -112,7 +111,6 @@
|
||||
</div>
|
||||
<ai-echart-v2
|
||||
style="height: 236px; width: 100%; margin-top: 10px;"
|
||||
:ref="'chart2'"
|
||||
:data="dwData"
|
||||
:ops="barChart8">
|
||||
</ai-echart-v2>
|
||||
@@ -123,7 +121,6 @@
|
||||
</div>
|
||||
<ai-echart-v2
|
||||
style="height: 160px; width: 100%; margin-top: 20px;"
|
||||
:ref="'chart2'"
|
||||
:data="qrsGmData"
|
||||
:ops="pieChart">
|
||||
</ai-echart-v2>
|
||||
@@ -907,8 +904,6 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.lineData9 = res.data.tagInfo
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export default {
|
||||
colors = this.theme === '1' ? this.colors : (options.color || this.colors),
|
||||
legend = {textStyle: {color: '#fff', padding: [0, 0, 0, 8], fontSize: 14}, show: false},
|
||||
series = data?.[0] ? Array(Object.keys(data?.[0]).length - 1).fill(1)
|
||||
.map((e, i) => ({type, ...(typeof style == 'object' ? style : style(colors[i]))})) : []
|
||||
.map((e, i) => ({type, ...daemon, ...(typeof style == 'object' ? style : style(colors[i]))})) : []
|
||||
return {
|
||||
tooltip: {},
|
||||
xAxis: {
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
top: '26px',
|
||||
containLabel: true
|
||||
},
|
||||
legend, series: {...daemon, ...series}, ...options,
|
||||
legend, series, ...options,
|
||||
color: colors
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user