forked from Gitlink/forgeplus-react
feat: 代码暂存
This commit is contained in:
parent
4e5a851484
commit
dfabc4a36b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue