feat: 代码暂存

This commit is contained in:
herman94 2022-07-11 13:45:30 +08:00
parent 4e5a851484
commit dfabc4a36b
1 changed files with 3 additions and 1 deletions

View File

@ -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) {