From d3f7d0086b8d04a0c027354f3407efeefe52a42b Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Tue, 27 Dec 2022 16:56:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI=E8=87=AA=E5=8A=A8=E5=8C=96):=20=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E7=8E=AF=E5=A2=83-=E5=A1=AB=E5=86=99=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E5=90=8E=E9=85=8D=E7=BD=AEUI=E9=85=8D=E7=BD=AE-?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E8=A2=AB=E8=87=AA=E5=8A=A8=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020946 --user=张大海 【项目设置】环境管理-新建环境-填写域名后配置UI配置-域名被自动清空 https://www.tapd.cn/55049933/s/1320008 --- .../src/components/environment/EnvironmentHttpConfig.vue | 2 +- framework/sdk-parent/frontend/src/model/EnvironmentModel.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/environment/EnvironmentHttpConfig.vue b/framework/sdk-parent/frontend/src/components/environment/EnvironmentHttpConfig.vue index d1b6f0918d..04dd1f9348 100644 --- a/framework/sdk-parent/frontend/src/components/environment/EnvironmentHttpConfig.vue +++ b/framework/sdk-parent/frontend/src/components/environment/EnvironmentHttpConfig.vue @@ -58,7 +58,7 @@ - + diff --git a/framework/sdk-parent/frontend/src/model/EnvironmentModel.js b/framework/sdk-parent/frontend/src/model/EnvironmentModel.js index c98ddccd34..8e24e0f973 100644 --- a/framework/sdk-parent/frontend/src/model/EnvironmentModel.js +++ b/framework/sdk-parent/frontend/src/model/EnvironmentModel.js @@ -85,6 +85,8 @@ export class HttpConfig extends BaseConfig { this.port = undefined; this.conditions = []; this.cookie = options.cookie ? options.cookie : [new Cookie()]; + this.browser = "CHROME"; + this.headlessEnabled = true; this.isMock = false; this.description = ""; this.set(options);