CN-457 fix: chart参数错误修复
This commit is contained in:
@@ -183,13 +183,13 @@ export default {
|
||||
this.queryTimeRange = { startTime: getSecond(this.chartTimeFilter.startTime), endTime: getSecond(this.chartTimeFilter.endTime) }
|
||||
}
|
||||
const chartParams = this.chartInfo.params
|
||||
if (isAlarmInfo && JSON.stringify(extraParams) === '{}') {
|
||||
if (this.isAlarmInfo && JSON.stringify(extraParams) === '{}') {
|
||||
extraParams = {
|
||||
pageNo: 1,
|
||||
pageSize: 9
|
||||
}
|
||||
}
|
||||
if (isDetectionService || isDetectionSecurity) {
|
||||
if (this.isDetectionService || this.isDetectionSecurity) {
|
||||
extraParams = {
|
||||
pageNo: 1,
|
||||
pageSize: 6
|
||||
|
||||
@@ -371,7 +371,7 @@ export default {
|
||||
border: this.circleColor[d.dnsServerRole.toUpperCase()].border
|
||||
})
|
||||
}) */
|
||||
const seriesData = data.map(r => ({
|
||||
imageSeries.data = data.map(r => ({
|
||||
...this.convertMapData(r),
|
||||
id: r.ipLocationId,
|
||||
dnsServerRole: r.dnsServerRole,
|
||||
@@ -380,7 +380,6 @@ export default {
|
||||
color: this.circleColor[r.dnsServerRole.toUpperCase()].background,
|
||||
border: this.circleColor[r.dnsServerRole.toUpperCase()].border
|
||||
}))
|
||||
imageSeries.data = seriesData
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
|
||||
Reference in New Issue
Block a user