fix(接口测试): 修复场景模块树切换回收站,模块树和列表页不一致的缺陷

--bug=1025701 --user=王孝刚 【接口测试】场景列表和回收站切换-模块树切换错误
https://www.tapd.cn/55049933/s/1365826
This commit is contained in:
wxg0103 2023-04-23 17:07:39 +08:00 committed by fit2-zhao
parent 9d0f5be85b
commit 29ab75f7a5
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ export default {
addTab(tab) {
this.trashEnable = tab.name === 'trash';
if (tab.name === 'default') {
this.$refs.apiScenarioList.search();
this.$refs.nodeTree.list(this.projectId, tab);
} else if (tab.name === 'trash') {
this.$refs.apiTrashScenarioList.search();
}