mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(接口测试): 修复场景url路径包含空格另存为接口定义后保存提示请求路径无效的缺陷
--bug=1013129 --user=王孝刚 【接口测试】-场景-该场景url路径包含空格-另存为接口定义后保存提示请求路径无效 https://www.tapd.cn/55049933/s/1157201
This commit is contained in:
parent
0730459ec3
commit
3b0ca82beb
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user