From 3e0b7c1d2d1fbc25c601dc2382bb73b207730461 Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 18 Sep 2019 11:06:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20KERNEL-1359=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E7=AC=AC=E4=B8=80=E4=B8=AA=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/pages/maintain/forms/components/form.jdbc.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/pages/maintain/forms/components/form.jdbc.ts b/src/modules/pages/maintain/forms/components/form.jdbc.ts index 160308c..310d5f8 100644 --- a/src/modules/pages/maintain/forms/components/form.jdbc.ts +++ b/src/modules/pages/maintain/forms/components/form.jdbc.ts @@ -640,6 +640,9 @@ export class FormJdbc extends BI.Widget { public setSchemas(schemas: string[]) { this.schemas = schemas; + if (schemas.length > 0) { + this.form.schema.setValue(schemas[0]); + } } public getSubmitValue():Connection {