fix(接口测试): 接口定义,接口自动化列表回收站来回切换,接口树显示异常
--bug=1020906 --user=张勇 【接口测试】接口定义 / 接口自动化列表、接口定义 / 接口自动化 回收站列表,简单搜索后,再点击左侧模块树切换模块,模块树的统计就变回去了 https://www.tapd.cn/55049933/s/1316322
This commit is contained in:
parent
9fffef10fd
commit
6beadcb67a
|
@ -156,6 +156,7 @@ export default {
|
|||
this.filter();
|
||||
},
|
||||
'condition.trashEnable'() {
|
||||
this.param = {};
|
||||
this.$emit('enableTrash', this.condition.trashEnable);
|
||||
},
|
||||
relevanceProjectId() {
|
||||
|
@ -163,17 +164,19 @@ export default {
|
|||
},
|
||||
isTrashData() {
|
||||
this.condition.trashEnable = this.isTrashData;
|
||||
this.list();
|
||||
this.param = {};
|
||||
},
|
||||
},
|
||||
created(){
|
||||
this.$EventBus.$on("scenarioConditionBus", (param)=>{
|
||||
this.param = param;
|
||||
this.list();
|
||||
})
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$EventBus.$off("scenarioConditionBus", (param)=>{
|
||||
this.param = param;
|
||||
this.list();
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -156,6 +156,7 @@ export default {
|
|||
this.list();
|
||||
},
|
||||
'condition.trashEnable'() {
|
||||
this.param = {};
|
||||
this.$emit('enableTrash', this.condition.trashEnable);
|
||||
},
|
||||
relevanceProjectId() {
|
||||
|
@ -165,6 +166,7 @@ export default {
|
|||
this.list();
|
||||
},
|
||||
isTrashData() {
|
||||
this.param = {};
|
||||
this.condition.trashEnable = this.isTrashData;
|
||||
this.list();
|
||||
},
|
||||
|
@ -177,11 +179,13 @@ export default {
|
|||
created(){
|
||||
this.$EventBus.$on("apiConditionBus", (param)=>{
|
||||
this.param = param;
|
||||
this.list();
|
||||
})
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$EventBus.$off("apiConditionBus", (param)=>{
|
||||
this.param = param;
|
||||
this.list();
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue