fix(测试跟踪): 测试计划关联场景,第二次打开后没有数据
--bug=1026261 --user=陈建星 【测试跟踪】测试计划-第二次关联接口场景&UI测试用例-不显示数据 https://www.tapd.cn/55049933/s/1372463
This commit is contained in:
parent
3b5539ce2a
commit
f44b4dca25
|
@ -77,10 +77,12 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
open() {
|
open() {
|
||||||
this.$refs.baseRelevance.open();
|
this.$refs.baseRelevance.open();
|
||||||
if (this.$refs.apiScenarioList) {
|
this.$nextTick(() => {
|
||||||
this.$refs.apiScenarioList.clear();
|
if (this.$refs.apiScenarioList) {
|
||||||
this.$refs.apiScenarioList.search();
|
this.$refs.apiScenarioList.clear();
|
||||||
}
|
this.$refs.apiScenarioList.search();
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
setProject(projectId) {
|
setProject(projectId) {
|
||||||
this.projectId = projectId;
|
this.projectId = projectId;
|
||||||
|
|
|
@ -78,10 +78,12 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
open() {
|
open() {
|
||||||
this.$refs.baseRelevance.open();
|
this.$refs.baseRelevance.open();
|
||||||
if (this.$refs.apiScenarioList) {
|
this.$nextTick(() => {
|
||||||
this.$refs.apiScenarioList.clear();
|
if (this.$refs.apiScenarioList) {
|
||||||
this.$refs.apiScenarioList.search();
|
this.$refs.apiScenarioList.clear();
|
||||||
}
|
this.$refs.apiScenarioList.search();
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
setProject(projectId) {
|
setProject(projectId) {
|
||||||
this.projectId = projectId;
|
this.projectId = projectId;
|
||||||
|
|
Loading…
Reference in New Issue