From 407b2e54849009482c10934bd0df270d4ec38533 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 30 Dec 2021 15:08:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BC=96=E8=BE=91api=E6=97=B6?= =?UTF-8?q?=E6=98=BE=E7=8E=B0=E5=BD=93=E5=89=8D=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../definition/components/EditCompleteContainer.vue | 11 +++++++++++ .../definition/components/list/ApiCaseSimpleList.vue | 8 +++++--- .../api/definition/components/mock/MockTab.vue | 3 +++ .../components/runtest/RunTestDubboPage.vue | 3 +++ .../definition/components/runtest/RunTestHTTPPage.vue | 6 +++++- .../definition/components/runtest/RunTestSQLPage.vue | 3 +++ .../definition/components/runtest/RunTestTCPPage.vue | 3 +++ 7 files changed, 33 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/EditCompleteContainer.vue b/frontend/src/business/components/api/definition/components/EditCompleteContainer.vue index 93b12f5f2a..6e11051e4d 100644 --- a/frontend/src/business/components/api/definition/components/EditCompleteContainer.vue +++ b/frontend/src/business/components/api/definition/components/EditCompleteContainer.vue @@ -91,6 +91,7 @@ { let mockConfig = response.data; mockConfig.apiName = this.currentApi.name; + mockConfig.versionName = this.currentApi.versionName; this.baseMockConfigData = mockConfig; }); } @@ -359,4 +361,13 @@ export default { height: calc(100vh - 262px) !important; } +/deep/ .ms-opt-btn { + position: fixed; + right: 50px; + z-index: 1; + top: 128px; + float: right; + margin-right: 20px; + margin-top: 5px; +} diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index 39c108e239..b62a215503 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -1,9 +1,9 @@