fix: detection下拉metric请求参数更改

This commit is contained in:
chenjinsong
2022-04-06 18:05:14 +08:00
parent 0a58f6543c
commit 46c8dbe94e
2 changed files with 6 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ import * as echarts from 'echarts'
import { markRaw } from 'vue'
import { metricOption } from '@/views/detections/options/detectionOptions'
import { sortBy, reverseSortBy } from '@/utils/tools'
import _ from 'lodash'
export default {
name: 'DetectionPerformanceEventAppOverview',
props: {
@@ -190,7 +191,7 @@ export default {
this.searchEndTime = _.min([nowTime, (this.detection.endTime + allTime / 2)])
get(api.detection.performanceEvent.metric, {
domain: this.detection.domain,
appName: this.detection.appName,
startTime: this.searchStartTime,
endTime: this.searchEndTime,
eventType: this.detection.eventType