fix(测试跟踪): 测试计划用例详情页,选择全部评论,显示为空
--bug=1025756 --user=陈建星 【测试跟踪】测试计划-功能用例详情页-选择全部评论-未展示功能和执行评论 https://www.tapd.cn/55049933/s/1366323
This commit is contained in:
parent
73943bc54d
commit
95c0efce17
|
@ -6,8 +6,11 @@ export function testCaseCommentList(id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function testCaseCommentListByType(id, type) {
|
export function testCaseCommentListByType(id, type) {
|
||||||
|
if (type) {
|
||||||
return get(BASE_URL + `list/${id}/${type}`);
|
return get(BASE_URL + `list/${id}/${type}`);
|
||||||
}
|
}
|
||||||
|
return get(BASE_URL + `list/${id}`);
|
||||||
|
}
|
||||||
|
|
||||||
export function testCaseCommentListByTypeAndBelongId(id, type, belongId) {
|
export function testCaseCommentListByTypeAndBelongId(id, type, belongId) {
|
||||||
return get(BASE_URL + `list/${id}/${type}/${belongId}`);
|
return get(BASE_URL + `list/${id}/${type}/${belongId}`);
|
||||||
|
|
Loading…
Reference in New Issue