fix(项目设置): 修复环境变量过滤后的添加有问题的缺陷
This commit is contained in:
parent
7d36cfb290
commit
546f18f874
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue