fix(接口定义): 修复场景列表执行结果重置失效的缺陷
--bug=1017842 --user=王孝刚 【接口测试】接口自动化-执行结果-重置无效 https://www.tapd.cn/55049933/s/1259526
This commit is contained in:
parent
0c4ce0f831
commit
ac8234a8ab
|
@ -748,7 +748,9 @@ export default {
|
|||
this.apiDefaultTab = activeName
|
||||
this.apiTabs = tabs.filter(tab => tab.name !== targetName);
|
||||
this.$refs.mainTabs.$children = [];
|
||||
this.$refs.apiDefList[0].refreshTable();
|
||||
if (this.$refs.apiDefList[0]) {
|
||||
this.$refs.apiDefList[0].refreshTable();
|
||||
}
|
||||
},
|
||||
//创建左侧树的根目录模块
|
||||
createRootModel() {
|
||||
|
|
Loading…
Reference in New Issue