在调取get接口时,发生了报错,在报错地址中出现了20%,这是为什么,该怎么解决

代码:
//成交量
this.getAction(service_org_action.turnover,{srh_belongArea:1}).then(res =>{
console.log(res)
})

img

但是在浏览器中把20%去掉,是可以获取数据的

img

接口里面有空格,检查一下url

https://blog.csdn.net/weixin_44058725/article/details/117255585 用 encodeURI(service_org_action.turnover)试试。