fix(项目设置): 修复环境变量过滤后的添加有问题的缺陷

This commit is contained in:
wxg0103 2024-01-09 14:24:06 +08:00 committed by Craftsman
parent 7d36cfb290
commit 546f18f874
1 changed files with 3 additions and 6 deletions

View File

@ -400,6 +400,7 @@ export default {
"api_test.environment.common_config" "api_test.environment.common_config"
)}${repeatKey}${this.$t("load_test.param_is_duplicate")}` )}${repeatKey}${this.$t("load_test.param_is_duplicate")}`
); );
return;
} }
// //
@ -419,11 +420,7 @@ export default {
); );
this.currentPage = Math.ceil(this.items.length / this.pageSize); this.currentPage = Math.ceil(this.items.length / this.pageSize);
} }
this.filter();
//
this.allData = [];
this._filter();
this.queryPage();
// //
this.$emit("change", this.items); this.$emit("change", this.items);
@ -699,7 +696,7 @@ export default {
} }
this.allData = this.items; this.allData = this.items;
}); });
this.queryPage(); this.filter();
} }
this.currentPage = Math.ceil(this.items.length / this.pageSize); this.currentPage = Math.ceil(this.items.length / this.pageSize);
}, },