refactor(接口测试): 场景导入接口增加刷新列表

--bug=1026358 --user=王孝刚 【接口测试】接口测试-接口场景导入刷新后左侧tree的统计数没有刷新
https://www.tapd.cn/55049933/s/1379343
This commit is contained in:
wxg0103 2023-06-06 17:17:36 +08:00 committed by fit2-zhao
parent a40aa37826
commit a8b46ce905
2 changed files with 2 additions and 0 deletions

View File

@ -236,6 +236,7 @@ export default {
this.moduleOptions = data;
},
refresh() {
this.$refs.nodeTree.refresh(this.projectId);
if (this.isApiListEnable) {
this.$refs.apiList.initTable(this.projectId);
} else {

View File

@ -254,6 +254,7 @@ export default {
this.moduleOptions = data;
},
refresh() {
this.$refs.nodeTree.refresh(this.projectId);
this.$refs.apiScenarioList.search(this.projectId);
},
setData(data) {