CN-409 Entity Explorer--详情页图表开发:ip托管域名loading 不消失问题修正
This commit is contained in:
@@ -253,6 +253,8 @@ export default {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if(!(this.chartInfo.type === 33 || this.chartInfo.type === 34) ){
|
if(!(this.chartInfo.type === 33 || this.chartInfo.type === 34) ){
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
}else if(!this.chartData || this.chartData.length === 0){
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
}, 200)
|
}, 200)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -89,8 +89,7 @@ export const lineWithStatistics = {
|
|||||||
formatter: function (value, index) {
|
formatter: function (value, index) {
|
||||||
return unitConvert(value, unitTypes.number).join(' ')
|
return unitConvert(value, unitTypes.number).join(' ')
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
minInterval: 1
|
|
||||||
},
|
},
|
||||||
color: chartColor,
|
color: chartColor,
|
||||||
grid: {
|
grid: {
|
||||||
@@ -138,8 +137,7 @@ export const lineStack = {
|
|||||||
formatter: function (value, index) {
|
formatter: function (value, index) {
|
||||||
return unitConvert(value, unitTypes.number).join(' ')
|
return unitConvert(value, unitTypes.number).join(' ')
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
minInterval: 1
|
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: 55,
|
left: 55,
|
||||||
|
|||||||
Reference in New Issue
Block a user