fix: 修复 npm下钻tab为 Client Cities和Server Cities时,接口请求参数错误问题
This commit is contained in:
@@ -161,6 +161,10 @@ export default {
|
||||
params.q = `ip='${condition.split(/'(.*?)'/)[1]}' and side='client'`
|
||||
} else if (type === 'serverIp') {
|
||||
params.q = `ip='${condition.split(/'(.*?)'/)[1]}' and side='server'`
|
||||
} else if (type === 'clientCity') {
|
||||
params.q = `client_city='${condition.split(/'(.*?)'/)[1]}' and side='client'`
|
||||
} else if (type === 'serverCity') {
|
||||
params.q = `server_city='${condition.split(/'(.*?)'/)[1]}' and side='server'`
|
||||
} else {
|
||||
params.q = condition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user