From cbf889831b080473e788abc1f14af2bcd69f9750 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 24 Nov 2020 19:01:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B?= =?UTF-8?q?=E8=AF=95):=20=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A3=80=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/request/database/DatabaseFrom.vue | 2 +- .../src/business/components/api/test/model/ScenarioModel.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue b/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue index a6a179f034..deb09fbaa9 100644 --- a/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue +++ b/frontend/src/business/components/api/test/components/request/database/DatabaseFrom.vue @@ -29,7 +29,7 @@ - + diff --git a/frontend/src/business/components/api/test/model/ScenarioModel.js b/frontend/src/business/components/api/test/model/ScenarioModel.js index d6a29fdf21..96d546833f 100644 --- a/frontend/src/business/components/api/test/model/ScenarioModel.js +++ b/frontend/src/business/components/api/test/model/ScenarioModel.js @@ -609,8 +609,8 @@ export class DatabaseConfig extends BaseConfig { super(); this.id = undefined; this.name = undefined; - this.poolMax = undefined; - this.timeout = undefined; + this.poolMax = 1; + this.timeout = 100000; this.driver = undefined; this.dbUrl = undefined; this.username = undefined; From fbf6b59425435ee72044ee2f064d2324991b52e4 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 24 Nov 2020 19:44:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B8=A6=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E9=99=90=E5=88=B6=E7=9A=84=E6=96=87=E6=9C=AC=E6=A1=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/common/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/common/css/main.css b/frontend/src/common/css/main.css index 1f587bda9d..85ae6dcfd5 100644 --- a/frontend/src/common/css/main.css +++ b/frontend/src/common/css/main.css @@ -108,3 +108,11 @@ body { margin: 5px 0; border-radius: 5px; } + +/* 修复带长度限制的文本框,内容太长造成的无法查看内容的问题 */ +/*.el-input-padding-fix .el-input__inner {*/ + /*padding-right: 60px ;*/ +/*}*/ +.el-input__inner[maxlength] { + padding-right: 60px ; +}