From e4f9df58225ebe0e0751107365b665bc044b6b74 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 22 Oct 2021 16:10:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(Mock=E6=B5=8B=E8=AF=95):=20#1007343=20#1007?= =?UTF-8?q?342=20=E7=BC=96=E8=BE=91=E6=8E=A5=E5=8F=A3-MOCK-=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0queryt-=E5=8D=95=E5=87=BB=E9=AB=98=E7=BA=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=E5=8F=98=E6=9A=97=EF=BC=8C=E3=80=90?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89=E3=80=91-=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0mock=E6=9C=9F=E6=9C=9B=E6=97=B6=E5=A4=9A=E9=80=89?= =?UTF-8?q?=E6=A1=86=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007343 --user=宋天阳 【接口定义】-编辑接口-MOCK-添加queryt-单击高级配置页面变暗 https://www.tapd.cn/55049933/s/1057804;--bug=1007342 --user=宋天阳 【接口定义】-添加mock期望时多选框提示信息错误 https://www.tapd.cn/55049933/s/1057805 --- .../api/definition/components/ApiKeyValue.vue | 10 ++++++++-- .../api/definition/components/ApiVariable.vue | 11 +++++++++-- .../api/definition/components/ApiVariableAdvance.vue | 7 +++++++ .../api/definition/components/ApiVariableJson.vue | 8 +++++++- .../api/definition/components/ApiVariableSetting.vue | 9 +++++++++ .../components/mock/Components/MockApiBody.vue | 1 + .../components/mock/Components/MockRequestParam.vue | 6 +++--- .../api/definition/components/mock/MockTab.vue | 3 +++ .../components/common/components/table/MsTable.vue | 2 ++ 9 files changed, 49 insertions(+), 8 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/ApiKeyValue.vue b/frontend/src/business/components/api/definition/components/ApiKeyValue.vue index 449d43606b..cd78867645 100644 --- a/frontend/src/business/components/api/definition/components/ApiKeyValue.vue +++ b/frontend/src/business/components/api/definition/components/ApiKeyValue.vue @@ -60,7 +60,7 @@ - + @@ -92,7 +92,13 @@ type: Boolean, default: false }, - showDesc: Boolean + showDesc: Boolean, + appendToBody: { + type: Boolean, + default() { + return false; + } + }, }, data() { return { diff --git a/frontend/src/business/components/api/definition/components/ApiVariable.vue b/frontend/src/business/components/api/definition/components/ApiVariable.vue index 0a34327de3..daaf50c216 100644 --- a/frontend/src/business/components/api/definition/components/ApiVariable.vue +++ b/frontend/src/business/components/api/definition/components/ApiVariable.vue @@ -89,11 +89,12 @@ - + - @@ -124,6 +125,12 @@ export default { type: String, default: '' }, + appendDialogToBody: { + type: Boolean, + default() { + return false; + } + }, isReadOnly: { type: Boolean, default: false diff --git a/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue b/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue index fc66342376..5c019be8bc 100644 --- a/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue +++ b/frontend/src/business/components/api/definition/components/ApiVariableAdvance.vue @@ -1,6 +1,7 @@