From 858bd86e5edf1b59663f509005cc1756234abe35 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 20 Jan 2022 15:33:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3iscopy=E6=89=BE=E4=B8=8D=E5=88=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 解决iscopy找不到问题 --- .../api/definition/components/complete/EditCompleteDubboApi.vue | 2 +- .../api/definition/components/complete/EditCompleteSQLApi.vue | 2 +- .../api/definition/components/complete/EditCompleteTCPApi.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 27b6da47b1..321175b531 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteDubboApi.vue @@ -231,7 +231,7 @@ export default { }, getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { - if (this.httpForm.isCopy) { + if (this.basisData.isCopy) { this.versionData = response.data.filter(v => v.versionId === this.httpForm.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 b9e2598f28..643e724618 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteSQLApi.vue @@ -235,7 +235,7 @@ export default { }, getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { - if (this.httpForm.isCopy) { + if (this.basisData.isCopy) { this.versionData = response.data.filter(v => v.versionId === this.httpForm.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 b353c52f7b..b962f9e1ed 100644 --- a/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue +++ b/frontend/src/business/components/api/definition/components/complete/EditCompleteTCPApi.vue @@ -352,7 +352,7 @@ export default { }, getVersionHistory() { this.$get('/api/definition/versions/' + this.basisData.id, response => { - if (this.httpForm.isCopy) { + if (this.basisData.isCopy) { this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId); } else { this.versionData = response.data;