diff --git a/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue b/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue index 0ce7bc9948..8bf3cb8ff7 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue @@ -232,7 +232,7 @@ export default { getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { if (this.basisData.isCopy) { - this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId); + this.versionData = response.data.filter(v => v.versionId === this.basisData.versionId); } else { this.versionData = response.data; } diff --git a/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue b/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue index e5ed4e383c..14a609b566 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue @@ -236,7 +236,7 @@ export default { getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { if (this.basisData.isCopy) { - this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId); + this.versionData = response.data.filter(v => v.versionId === this.basisData.versionId); } else { this.versionData = response.data; } diff --git a/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue b/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue index 5509743b5e..aef0d84a08 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue @@ -353,7 +353,7 @@ export default { getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { if (this.basisData.isCopy) { - this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId); + this.versionData = response.data.filter(v => v.versionId === this.basisData.versionId); } else { this.versionData = response.data; }