From e11cc40f211c41c1ebfadfb9f47135fe74577854 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 2 Apr 2022 14:57:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E7=AD=9B=E9=80=89=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1011852 --user=刘瑞斌 【接口测试】接口文档版本筛选错误 https://www.tapd.cn/55049933/s/1129463 --- .../api/definition/components/document/ApiDocumentAnchor.vue | 2 -- .../api/definition/components/list/ApiDocumentsPage.vue | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/document/ApiDocumentAnchor.vue b/frontend/src/business/components/api/definition/components/document/ApiDocumentAnchor.vue index 2ce193e25a..1933027f31 100644 --- a/frontend/src/business/components/api/definition/components/document/ApiDocumentAnchor.vue +++ b/frontend/src/business/components/api/definition/components/document/ApiDocumentAnchor.vue @@ -170,7 +170,6 @@ export default { documentId: String, moduleIds: Array, sharePage: Boolean, - versionId: String, pageHeaderHeight: Number, trashEnable: { type: Boolean, @@ -255,7 +254,6 @@ export default { simpleRequest.moduleIds = []; } simpleRequest.trashEnable = this.trashEnable; - simpleRequest.versionId = this.versionId; let simpleInfoUrl = "/share/info/selectApiSimpleInfo"; diff --git a/frontend/src/business/components/api/definition/components/list/ApiDocumentsPage.vue b/frontend/src/business/components/api/definition/components/list/ApiDocumentsPage.vue index 00e8485392..3c237371f7 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiDocumentsPage.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiDocumentsPage.vue @@ -1,7 +1,7 @@ @@ -41,6 +41,7 @@ export default { computed: {}, methods: { initApiDocSimpleList() { + this.condition.versionId = this.versionId; Object.assign(this.$refs.documentAnchor.apiSearch, this.condition); this.$refs.documentAnchor.initApiDocSimpleList(); }