fix: 修复 npm 下钻总流量折线图参数处理问题
This commit is contained in:
@@ -135,15 +135,16 @@ export default {
|
|||||||
if (!val) {
|
if (!val) {
|
||||||
val = this.metricFilter
|
val = this.metricFilter
|
||||||
}
|
}
|
||||||
|
debugger
|
||||||
// const conditionStr = this.$route.query.queryCondition ? this.$route.query.queryCondition : ''
|
// const conditionStr = this.$route.query.queryCondition ? this.$route.query.queryCondition : ''
|
||||||
let condition = ''
|
let condition = ''
|
||||||
if (this.queryCondition.indexOf('OR') > -1) {
|
const type = this.dimensionType
|
||||||
|
if (this.queryCondition.indexOf('OR') > -1 && type !== 'protocolPort') {
|
||||||
condition = this.queryCondition.split(/["|'](.*?)["|']/)
|
condition = this.queryCondition.split(/["|'](.*?)["|']/)
|
||||||
} else {
|
} else {
|
||||||
condition = this.queryCondition
|
condition = this.queryCondition
|
||||||
}
|
}
|
||||||
// const type = this.$store.getters.getDimensionType
|
// const type = this.$store.getters.getDimensionType
|
||||||
const type = this.dimensionType
|
|
||||||
if (this.chartData.id === 24) {
|
if (this.chartData.id === 24) {
|
||||||
this.side = 'client'
|
this.side = 'client'
|
||||||
} else if (this.chartData.id === 29) {
|
} else if (this.chartData.id === 29) {
|
||||||
|
|||||||
Reference in New Issue
Block a user