fix(接口测试): 接口SQL协议用例执行环境选择校验调整。
This commit is contained in:
parent
bef87d2640
commit
a58e988402
|
@ -250,7 +250,7 @@
|
|||
});
|
||||
},
|
||||
singleRun(data) {
|
||||
if (this.api.protocol != "DUBBO" && this.api.protocol != "dubbo://" && !this.environment) {
|
||||
if (this.api.protocol !== "SQL" && this.api.protocol != "DUBBO" && this.api.protocol != "dubbo://" && !this.environment) {
|
||||
this.$warning(this.$t('api_test.environment.select_environment'));
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -346,7 +346,7 @@ export default {
|
|||
},
|
||||
|
||||
singleRun(row) {
|
||||
if (this.currentApi.protocol !== "DUBBO" && this.currentApi.protocol !== "dubbo://" && !this.environment) {
|
||||
if (this.currentApi.protocol !== "SQL" && this.currentApi.protocol !== "DUBBO" && this.currentApi.protocol !== "dubbo://" && !this.environment) {
|
||||
this.$warning(this.$t('api_test.environment.select_environment'));
|
||||
return;
|
||||
}
|
||||
|
@ -364,7 +364,7 @@ export default {
|
|||
},
|
||||
|
||||
batchRun() {
|
||||
if (this.currentApi.protocol !== "DUBBO" && this.currentApi.protocol !== "dubbo://" && !this.environment) {
|
||||
if (this.currentApi.protocol !== "SQL" && this.currentApi.protocol !== "DUBBO" && this.currentApi.protocol !== "dubbo://" && !this.environment) {
|
||||
this.$warning(this.$t('api_test.environment.select_environment'));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue