시나리오 탭 처리
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user