mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-29 18:28:09 +08:00
fix: old test history authorization lose
This commit is contained in:
parent
361bc9af8a
commit
25a7e9abd1
@ -203,6 +203,12 @@ export class ApiTestComponent implements OnInit, AfterViewInit, OnDestroy, TabVi
|
||||
uuid = uuid.replace('history_', '');
|
||||
const history: ApiTestHistory = await this.apiTest.getHistory(uuid);
|
||||
console.log('history.request', history.request);
|
||||
history.request.authInfo = {
|
||||
authInfo: {},
|
||||
authType: noAuth.name,
|
||||
isInherited: 0,
|
||||
...history.request.authInfo
|
||||
};
|
||||
this.model.request = history.request;
|
||||
this.model.testResult = history.response;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user