NEZ-3309 fix:DashBoard templates双y轴图表中未显示双y轴
This commit is contained in:
@@ -233,7 +233,7 @@
|
||||
.bottom-box__top .my-loading-box {
|
||||
height: calc(100% + 20px) !important;
|
||||
}
|
||||
.my-loading-parent--relative{
|
||||
.my-loading-parent--relative:not(.panel-chart){
|
||||
height: calc(100% - 20px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -271,11 +271,11 @@ export default {
|
||||
case 'logs': {
|
||||
if (this.from === fromRoute.chartTemp || this.from === fromRoute.dashboardTemp || this.from === fromRoute.integration) {
|
||||
setTimeout(() => {
|
||||
this.chartData = [chartTempData.data.result]
|
||||
this.chartData.forEach(item => {
|
||||
item.forEach(children => {
|
||||
children.elements = elements[0]
|
||||
})
|
||||
this.chartData = []
|
||||
elements.forEach(item => {
|
||||
const data = this.$lodash.cloneDeep(chartTempData.data.result)
|
||||
data[0].elements = item
|
||||
this.chartData.push(data)
|
||||
})
|
||||
this.loading = false
|
||||
}, 100)
|
||||
|
||||
Reference in New Issue
Block a user