fix(接口测试): 修复场景模块树切换回收站,模块树和列表页不一致的缺陷
--bug=1025701 --user=王孝刚 【接口测试】场景列表和回收站切换-模块树切换错误 https://www.tapd.cn/55049933/s/1365826
This commit is contained in:
parent
9d0f5be85b
commit
29ab75f7a5
|
@ -312,7 +312,7 @@ export default {
|
||||||
addTab(tab) {
|
addTab(tab) {
|
||||||
this.trashEnable = tab.name === 'trash';
|
this.trashEnable = tab.name === 'trash';
|
||||||
if (tab.name === 'default') {
|
if (tab.name === 'default') {
|
||||||
this.$refs.apiScenarioList.search();
|
this.$refs.nodeTree.list(this.projectId, tab);
|
||||||
} else if (tab.name === 'trash') {
|
} else if (tab.name === 'trash') {
|
||||||
this.$refs.apiTrashScenarioList.search();
|
this.$refs.apiTrashScenarioList.search();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue