refactor: 执行接口用例通知跳转

This commit is contained in:
Captain.B 2021-09-14 18:09:54 +08:00 committed by 刘瑞斌
parent ddd31f5b3e
commit 05789ad717
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export function getUrl(d) {
url += "/api/automation?resourceId=" + d.resourceId;
break;
case "API_DEFINITION_TASK" :
if (d.operation.startsWith('CASE_')) {
if (d.operation.startsWith('CASE_') || d.operation.startsWith('EXECUTE_') ) {
url += "/api/definition?caseId=" + d.resourceId;
} else {
url += "/api/definition?resourceId=" + d.resourceId;