From 95c0efce178cebae87a09d626a0a2628554951ea Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 25 Apr 2023 12:08:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E7=94=A8=E4=BE=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=EF=BC=8C=E9=80=89=E6=8B=A9=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=EF=BC=8C=E6=98=BE=E7=A4=BA=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025756 --user=陈建星 【测试跟踪】测试计划-功能用例详情页-选择全部评论-未展示功能和执行评论 https://www.tapd.cn/55049933/s/1366323 --- test-track/frontend/src/api/test-case-comment.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/api/test-case-comment.js b/test-track/frontend/src/api/test-case-comment.js index e82bdf79c2..6b79fb23de 100644 --- a/test-track/frontend/src/api/test-case-comment.js +++ b/test-track/frontend/src/api/test-case-comment.js @@ -6,7 +6,10 @@ export function testCaseCommentList(id) { } export function testCaseCommentListByType(id, type) { - return get(BASE_URL + `list/${id}/${type}`); + if (type) { + return get(BASE_URL + `list/${id}/${type}`); + } + return get(BASE_URL + `list/${id}`); } export function testCaseCommentListByTypeAndBelongId(id, type, belongId) {