fix(接口测试): 修复场景里面点导入接口,关闭导入窗口后再次点导入就空白了的缺陷

--bug=1013733 --user=王孝刚 【接口测试】场景里面点导入接口,关闭导入窗口后再次点导入就空白了
https://www.tapd.cn/55049933/s/1171013
This commit is contained in:
wxg0103 2022-06-01 11:47:11 +08:00 committed by f2c-ci-robot[bot]
parent 2a0da62698
commit a8f6596e7a
2 changed files with 5 additions and 4 deletions

View File

@ -104,9 +104,7 @@ export default {
},
created() {
this.condition.versionId = this.currentVersion;
if (this.currentProtocol !== null) {
this.initTable();
}
this.initTable();
},
watch: {
selectNodeIds() {

View File

@ -151,13 +151,16 @@ export default {
this.condition.protocol = this.$route.params.type;
this.$emit('protocolChange', this.condition.protocol);
this.list();
}else if(!this.isRelevance){
}else if (!this.isRelevance) {
//
this.$get('/api/module/getUserDefaultApiType/', response => {
this.condition.protocol = response.data;
this.$emit('protocolChange', this.condition.protocol);
this.list();
});
} else {
this.$emit('protocolChange', this.condition.protocol);
this.list();
}
},
filter() {