fix(接口定义): 修复接口定义页面报错的缺陷
This commit is contained in:
parent
2069190fca
commit
dc8a848c4b
|
@ -677,7 +677,7 @@ export default {
|
|||
}
|
||||
item.caseTotal = parseInt(item.caseTotal);
|
||||
if (item.protocol === 'HTTP') {
|
||||
if (!item.response) {
|
||||
if (!item.response || item.response === 'null') {
|
||||
let response = {headers: [], body: new Body(), statusCode: [], type: "HTTP"};
|
||||
item.response = JSON.stringify(response);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue