refactor(接口测试): 场景导入接口增加刷新列表
--bug=1026358 --user=王孝刚 【接口测试】接口测试-接口场景导入刷新后左侧tree的统计数没有刷新 https://www.tapd.cn/55049933/s/1379343
This commit is contained in:
parent
a40aa37826
commit
a8b46ce905
|
@ -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 {
|
||||
|
|
|
@ -254,6 +254,7 @@ export default {
|
|||
this.moduleOptions = data;
|
||||
},
|
||||
refresh() {
|
||||
this.$refs.nodeTree.refresh(this.projectId);
|
||||
this.$refs.apiScenarioList.search(this.projectId);
|
||||
},
|
||||
setData(data) {
|
||||
|
|
Loading…
Reference in New Issue