fix(接口测试): 修复运行环境变量无法删除的缺陷
--bug=1032690 --user=王孝刚 【项目设置】github#27449,接口测试运行环境变量无法删除 https://www.tapd.cn/55049933/s/1434380
This commit is contained in:
parent
1136d62153
commit
9b4ab72d27
|
@ -260,6 +260,9 @@ export default {
|
|||
|
||||
const allDataIndex = this.allData.findIndex((d) => d.name === index.name);
|
||||
this.allData.splice(allDataIndex, 1);
|
||||
|
||||
const itemsIndex = this.items.findIndex((d) => d.name === index.name);
|
||||
this.items.splice(itemsIndex, 1);
|
||||
this.sortParameters();
|
||||
this.currentPage = Math.ceil(this.allData.length / this.pageSize);
|
||||
this.queryPage();
|
||||
|
|
Loading…
Reference in New Issue