fix(接口测试): 修复环境通用设置的校验问题
--bug=1026573 --user=王孝刚 【接口测试】github#24640,环境配置,勾选了通用配置列表,切换环境,通用配置不切换 https://www.tapd.cn/55049933/s/1386592
This commit is contained in:
parent
7add354791
commit
0a4227fb24
|
@ -191,6 +191,7 @@ export default {
|
||||||
this.$refs.environmentItems.itemSelected(this.environments.length - 1, newEnvironment);
|
this.$refs.environmentItems.itemSelected(this.environments.length - 1, newEnvironment);
|
||||||
},
|
},
|
||||||
environmentSelected(environment) {
|
environmentSelected(environment) {
|
||||||
|
this.$refs.environmentEdit.clearValidate();
|
||||||
this.getEnvironment(environment);
|
this.getEnvironment(environment);
|
||||||
},
|
},
|
||||||
getEnvironments() {
|
getEnvironments() {
|
||||||
|
|
|
@ -270,8 +270,8 @@ export default {
|
||||||
this.variables = this.allData.slice(0, this.pageSize);
|
this.variables = this.allData.slice(0, this.pageSize);
|
||||||
this.variables.forEach((item) => {
|
this.variables.forEach((item) => {
|
||||||
item.showMore = false;
|
item.showMore = false;
|
||||||
|
delete item.hashTree;
|
||||||
});
|
});
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
let start = (this.currentPage - 1) * this.pageSize;
|
let start = (this.currentPage - 1) * this.pageSize;
|
||||||
let end = this.currentPage * this.pageSize;
|
let end = this.currentPage * this.pageSize;
|
||||||
|
|
Loading…
Reference in New Issue