From dfabc4a36ba0e386341e9838007f1ed506338432 Mon Sep 17 00:00:00 2001 From: herman94 Date: Mon, 11 Jul 2022 13:45:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=A3=E7=A0=81=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Quality/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {