mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(接口测试): 修复TCP请求服务器或IP必填的bug
This commit is contained in:
parent
4b1b420f33
commit
c074fd77ef
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user