CN-803 fix: 批量查询参数格式变更

This commit is contained in:
@changcode
2022-11-16 18:10:48 +08:00
parent c30f6e642a
commit 57b607fca5
4 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ export default {
getData(api.npm.overview.map, params).then(res => {
const subParams = {
...params,
params: res.map(r => r.country).join(',')
params: res.map(r => `'${r.country}'`).join(',')
}
// 计算分数
const tcpRequest = get(api.npm.overview.mapTcp, subParams)