CN-409 Entity Explorer--详情页图表开发:ip托管域名loading 不消失问题修正

This commit is contained in:
hyx
2022-03-24 17:33:07 +08:00
parent 03e8326784
commit 41237af24e
2 changed files with 5 additions and 5 deletions

View File

@@ -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)
}) })

View File

@@ -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,