fix: 关联场景用例tag显示出错

This commit is contained in:
chenjianxing 2021-01-28 12:57:48 +08:00
parent 363e58067c
commit 50ea7f76bf
2 changed files with 6 additions and 3 deletions

View File

@ -89,9 +89,6 @@
selectRows: new Set()
}
},
created() {
this.search();
},
watch: {
selectNodeIds() {
this.search();
@ -102,6 +99,9 @@
},
methods: {
search() {
if (!this.projectId) {
return;
}
this.selectRows = new Set();
this.loading = true;

View File

@ -75,6 +75,9 @@
methods: {
open() {
this.$refs.baseRelevance.open();
if (this.$refs.apiScenarioList) {
this.$refs.apiScenarioList.search();
}
},
setProject(projectId) {
this.projectId = projectId;