시나리오 탭 처리

This commit is contained in:
현성필
2024-01-08 10:20:58 +09:00
parent b4c43a2138
commit 2861d3d393
7 changed files with 260 additions and 78 deletions
+13
View File
@@ -438,6 +438,19 @@ class APITester {
$('#confirm_delete_modal').modal('show');
}
getApiRequestModel(apiId){
let foundApi = null;
this.collections.forEach(function (collection) {
collection.apis.forEach(function (api) {
if (api.id === apiId) {
foundApi = api;
}
});
});
return foundApi;
}
showCollectionEditModal(event) {
const me = this;
const collectionId = $(event.currentTarget).closest('button').data('collection');