From 881e9cff7437a07803bc75b9bd6f9f34c1c6a489 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 28 Mar 2022 17:17:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8Dmock=E6=9C=9F=E6=9C=9B=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E4=B8=BAxml=E6=A0=BC=E5=BC=8F=E6=97=B6xml=E5=A4=B4=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=88=A0=E9=99=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1011723 --user=宋天阳 【接口测试】github#11969,https://www.tapd.cn/55049933/s/1126842 --- .../api/definition/components/body/ApiBodyFileUpload.vue | 4 ++++ .../components/mock/Components/MockApiResponseBody.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue b/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue index 2142f4eadc..4c05affbd4 100644 --- a/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue +++ b/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue @@ -115,6 +115,10 @@ } .upload-item { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + width: 180px; } diff --git a/frontend/src/business/components/api/definition/components/mock/Components/MockApiResponseBody.vue b/frontend/src/business/components/api/definition/components/mock/Components/MockApiResponseBody.vue index 1360edaf0c..b4d88da95f 100644 --- a/frontend/src/business/components/api/definition/components/mock/Components/MockApiResponseBody.vue +++ b/frontend/src/business/components/api/definition/components/mock/Components/MockApiResponseBody.vue @@ -150,7 +150,7 @@ export default { 'body.xmlHeader'() { if (!this.body.xmlHeader) { - this.body.xmlHeader = 'version="1.0" encoding="UTF-8"'; + this.body.xmlHeader = ''; } }, },