fix(接口测试): 修复TCP请求服务器或IP必填的bug

This commit is contained in:
q4speed 2020-10-21 14:14:22 +08:00
parent 4b1b420f33
commit c074fd77ef

View File

@ -555,14 +555,6 @@ export class TCPRequest extends Request {
}
isValid() {
if (this.enable) {
if (!this.server) {
return {
isValid: false,
info: 'api_test.request.tcp.server_cannot_be_empty'
}
}
}
return {
isValid: true
}