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();
|
this.filter();
|
||||||
},
|
},
|
||||||
'condition.trashEnable'() {
|
'condition.trashEnable'() {
|
||||||
|
this.param = {};
|
||||||
this.$emit('enableTrash', this.condition.trashEnable);
|
this.$emit('enableTrash', this.condition.trashEnable);
|
||||||
},
|
},
|
||||||
relevanceProjectId() {
|
relevanceProjectId() {
|
||||||
|
@ -163,17 +164,19 @@ export default {
|
||||||
},
|
},
|
||||||
isTrashData() {
|
isTrashData() {
|
||||||
this.condition.trashEnable = this.isTrashData;
|
this.condition.trashEnable = this.isTrashData;
|
||||||
this.list();
|
this.param = {};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created(){
|
created(){
|
||||||
this.$EventBus.$on("scenarioConditionBus", (param)=>{
|
this.$EventBus.$on("scenarioConditionBus", (param)=>{
|
||||||
this.param = param;
|
this.param = param;
|
||||||
|
this.list();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.$EventBus.$off("scenarioConditionBus", (param)=>{
|
this.$EventBus.$off("scenarioConditionBus", (param)=>{
|
||||||
this.param = param;
|
this.param = param;
|
||||||
|
this.list();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -156,6 +156,7 @@ export default {
|
||||||
this.list();
|
this.list();
|
||||||
},
|
},
|
||||||
'condition.trashEnable'() {
|
'condition.trashEnable'() {
|
||||||
|
this.param = {};
|
||||||
this.$emit('enableTrash', this.condition.trashEnable);
|
this.$emit('enableTrash', this.condition.trashEnable);
|
||||||
},
|
},
|
||||||
relevanceProjectId() {
|
relevanceProjectId() {
|
||||||
|
@ -165,6 +166,7 @@ export default {
|
||||||
this.list();
|
this.list();
|
||||||
},
|
},
|
||||||
isTrashData() {
|
isTrashData() {
|
||||||
|
this.param = {};
|
||||||
this.condition.trashEnable = this.isTrashData;
|
this.condition.trashEnable = this.isTrashData;
|
||||||
this.list();
|
this.list();
|
||||||
},
|
},
|
||||||
|
@ -177,11 +179,13 @@ export default {
|
||||||
created(){
|
created(){
|
||||||
this.$EventBus.$on("apiConditionBus", (param)=>{
|
this.$EventBus.$on("apiConditionBus", (param)=>{
|
||||||
this.param = param;
|
this.param = param;
|
||||||
|
this.list();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.$EventBus.$off("apiConditionBus", (param)=>{
|
this.$EventBus.$off("apiConditionBus", (param)=>{
|
||||||
this.param = param;
|
this.param = param;
|
||||||
|
this.list();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue