fix(接口测试): 修复场景url路径包含空格另存为接口定义后保存提示请求路径无效的缺陷

--bug=1013129 --user=王孝刚 【接口测试】-场景-该场景url路径包含空格-另存为接口定义后保存提示请求路径无效
https://www.tapd.cn/55049933/s/1157201
This commit is contained in:
wxg0103 2022-05-12 18:07:59 +08:00 committed by 刘瑞斌
parent 0730459ec3
commit 3b0ca82beb
2 changed files with 0 additions and 8 deletions

View File

@ -112,10 +112,6 @@
saveApi() {
this.$refs['httpForm'].validate((valid) => {
if (valid) {
if (this.httpForm.path) {
this.$error(this.$t("api_test.definition.request.path_valid_info"));
return false;
}
this.save(this.httpForm);
} else {
return false;

View File

@ -120,10 +120,6 @@
saveApi(saveAs) {
this.$refs['httpForm'].validate((valid) => {
if (valid) {
if (this.httpForm.path) {
this.$error(this.$t("api_test.definition.request.path_valid_info"));
return false;
}
let bodyFiles = [];
let path = "/api/definition/create";
this.setParameter();