CN-1373 fix: 修复下一跳下钻后参数大小写变更的问题

This commit is contained in:
chenjinsong
2023-10-11 16:07:49 +08:00
parent 41f161e301
commit 6ac9b71b0e
3 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ export default {
endTime: getSecond(this.timeFilter.endTime)
}
if (this.queryCondition) {
const condition = this.queryCondition.toLowerCase().split(' or ')
const condition = this.queryCondition.split(' or ')
if (condition.length > 1) {
params.outParam = condition.find(c => c.indexOf('common_out_link_id') > -1 || c.indexOf('out_link_direction') > -1)
params.inParam = condition.find(c => c.indexOf('common_in_link_id') > -1 || c.indexOf('in_link_direction') > -1)

View File

@@ -100,7 +100,7 @@ export default {
}
let url = ''
if (this.queryCondition) {
const condition = this.queryCondition.toLowerCase().split(' or ')
const condition = this.queryCondition.split(' or ')
if (condition.length > 1) {
if (n === 0) {
params.q = condition.find(c => c.indexOf('common_in_link_id') > -1 || c.indexOf('in_link_direction') > -1)

View File

@@ -104,7 +104,7 @@ export default {
endTime: getSecond(this.timeFilter.endTime)
}
if (this.queryCondition) {
const condition = this.queryCondition.toLowerCase().split(' or ')
const condition = this.queryCondition.split(' or ')
if (condition.length > 1) {
// params.outParam = true
params.outParam = condition.find(c => c.indexOf('common_out_link_id') > -1 || c.indexOf('out_link_direction') > -1)