fix(接口测试): 修复场景里面点导入接口,关闭导入窗口后再次点导入就空白了的缺陷
--bug=1013733 --user=王孝刚 【接口测试】场景里面点导入接口,关闭导入窗口后再次点导入就空白了 https://www.tapd.cn/55049933/s/1171013
This commit is contained in:
parent
2a0da62698
commit
a8f6596e7a
|
@ -104,9 +104,7 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.condition.versionId = this.currentVersion;
|
this.condition.versionId = this.currentVersion;
|
||||||
if (this.currentProtocol !== null) {
|
this.initTable();
|
||||||
this.initTable();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectNodeIds() {
|
selectNodeIds() {
|
||||||
|
|
|
@ -151,13 +151,16 @@ export default {
|
||||||
this.condition.protocol = this.$route.params.type;
|
this.condition.protocol = this.$route.params.type;
|
||||||
this.$emit('protocolChange', this.condition.protocol);
|
this.$emit('protocolChange', this.condition.protocol);
|
||||||
this.list();
|
this.list();
|
||||||
}else if(!this.isRelevance){
|
}else if (!this.isRelevance) {
|
||||||
//展示页面是非引用页面才会查询上一次接口类型
|
//展示页面是非引用页面才会查询上一次接口类型
|
||||||
this.$get('/api/module/getUserDefaultApiType/', response => {
|
this.$get('/api/module/getUserDefaultApiType/', response => {
|
||||||
this.condition.protocol = response.data;
|
this.condition.protocol = response.data;
|
||||||
this.$emit('protocolChange', this.condition.protocol);
|
this.$emit('protocolChange', this.condition.protocol);
|
||||||
this.list();
|
this.list();
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.$emit('protocolChange', this.condition.protocol);
|
||||||
|
this.list();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filter() {
|
filter() {
|
||||||
|
|
Loading…
Reference in New Issue