refactor(接口定义): 接口定义列表编辑案例时的默认状态改为直接展开
接口定义列表编辑案例时的默认状态改为直接展开
This commit is contained in:
parent
be6390d3bf
commit
ac546e04c1
|
@ -303,6 +303,10 @@ export default {
|
||||||
const index = this.runData.findIndex(d => d.name === apiCase.id);
|
const index = this.runData.findIndex(d => d.name === apiCase.id);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
apiCase.active = true;
|
apiCase.active = true;
|
||||||
|
}else {
|
||||||
|
if(this.condition.id && this.condition.id != ""){
|
||||||
|
apiCase.active = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.apiCaseList = data;
|
this.apiCaseList = data;
|
||||||
|
|
Loading…
Reference in New Issue