CN-457 fix: chart参数错误修复

This commit is contained in:
chenjinsong
2022-03-31 14:49:32 +08:00
parent 4662c90c4f
commit ce133cf0aa
2 changed files with 3 additions and 4 deletions

View File

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