diff --git a/src/forge/Quality/index.js b/src/forge/Quality/index.js index 085f351a..c3ef47db 100644 --- a/src/forge/Quality/index.js +++ b/src/forge/Quality/index.js @@ -30,7 +30,9 @@ function Quality(props){ } const getTaskData = (task_id) => { - axios.post(`/${owner}/${projectsId}/sonar_tasks/type_detail.json?task_id=${task_id}`) + axios.post(`/${owner}/${projectsId}/sonar_tasks/type_detail.json`,{ + task_id + }) .then(result => { console.log('请求的结果',result); }).catch(function (error) {