This commit is contained in:
fit2-zhao 2021-03-25 17:23:45 +08:00
commit 5379c8b763
6 changed files with 9 additions and 9 deletions

View File

@ -433,7 +433,7 @@
this.result.loading = false;
this.unSelection = data.listObject.map(s => s.id);
if (this.$refs.scenarioTable) {
this.$refs.scenarioTable.doLayout()
setTimeout(this.$refs.scenarioTable.doLayout,500)
}
});
}

View File

@ -643,7 +643,7 @@ export default {
if(lastIndex < this.currentApiIndexInApiShowArray){
//
if(this.needAsyncSelect){
// if(this.needAsyncSelect){
//apiShowArray 2
// apiStepIndex-1- 2 < apiInfoArray
let dataIndex = this.apiStepIndex -3;
@ -657,11 +657,11 @@ export default {
if(this.apiShowArray.length > (this.currentApiIndexInApiShowArray+3)){
this.apiShowArray.pop();
}
}
// }
this.apiStepIndex --;
}else if(lastIndex > this.currentApiIndexInApiShowArray){
//
if(this.needAsyncSelect){
// if(this.needAsyncSelect){
//apiShowArray 2
// apiStepIndex+1+ 2 < apiInfoArray
let dataIndex = this.apiStepIndex +3;
@ -678,7 +678,7 @@ export default {
let itemHeight = this.$refs.apiDocInfoDivItem[0].offsetHeight+10;
this.$refs.apiDocInfoDiv.scrollTop = (apiDocDivScrollTop-itemHeight);
}
}
// }
this.apiStepIndex ++;
}
}

View File

@ -340,7 +340,7 @@ export default {
}
})
if (this.$refs.caseTable) {
this.$refs.caseTable.doLayout()
setTimeout(this.$refs.caseTable.doLayout,500)
}
});
}

View File

@ -464,7 +464,7 @@
}
})
if (this.$refs.apiDefinitionTable) {
this.$refs.apiDefinitionTable.doLayout()
setTimeout(this.$refs.apiDefinitionTable.doLayout, 500)
}
});

View File

@ -399,7 +399,7 @@ export default {
item.tags = JSON.parse(item.tags);
})
if (this.$refs.table) {
this.$refs.table.doLayout()
setTimeout(this.$refs.table.doLayout,500)
}
});

View File

@ -477,7 +477,7 @@ export default {
}
this.selectRows.clear();
if (this.$refs.table) {
this.$refs.table.doLayout()
setTimeout(this.$refs.table.doLayout,500)
}
});
}