refactor: 执行接口用例通知跳转
This commit is contained in:
parent
ddd31f5b3e
commit
05789ad717
|
@ -133,7 +133,7 @@ export function getUrl(d) {
|
||||||
url += "/api/automation?resourceId=" + d.resourceId;
|
url += "/api/automation?resourceId=" + d.resourceId;
|
||||||
break;
|
break;
|
||||||
case "API_DEFINITION_TASK" :
|
case "API_DEFINITION_TASK" :
|
||||||
if (d.operation.startsWith('CASE_')) {
|
if (d.operation.startsWith('CASE_') || d.operation.startsWith('EXECUTE_') ) {
|
||||||
url += "/api/definition?caseId=" + d.resourceId;
|
url += "/api/definition?caseId=" + d.resourceId;
|
||||||
} else {
|
} else {
|
||||||
url += "/api/definition?resourceId=" + d.resourceId;
|
url += "/api/definition?resourceId=" + d.resourceId;
|
||||||
|
|
Loading…
Reference in New Issue