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() { created() {
this.condition.versionId = this.currentVersion; this.condition.versionId = this.currentVersion;
if (this.currentProtocol !== null) {
this.initTable(); this.initTable();
}
}, },
watch: { watch: {
selectNodeIds() { selectNodeIds() {

View File

@ -158,6 +158,9 @@ export default {
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() {