fix(接口测试): 兼容导入数据部分初始值为空时展示问题

Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
fit2-zhao 2023-08-29 15:17:23 +08:00 committed by fit2-zhao
parent 47440d78b9
commit f1ad50dab8
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ export default {
this.request.body.jsonSchema || this.request.body.jsonSchema ||
(this.request.body.binary && (this.request.body.binary &&
this.request.body.binary.length > 0 && this.request.body.binary.length > 0 &&
this.request.body.binary[0].files &&
this.request.body.binary[0].files.length > 0) this.request.body.binary[0].files.length > 0)
); );
}, },