From 008573646a8f11fe18ec4b5e4f26706c496fe58f Mon Sep 17 00:00:00 2001 From: "Austin.Duan" Date: Mon, 22 Apr 2024 10:04:47 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-114169=20fix:=20=E3=80=90=E5=A4=9A?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E3=80=91=E6=96=B0=E5=BB=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E8=BE=93=E5=85=A5=E6=A1=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/pages/maintain/forms/components/form.jdbc.ts | 2 +- src/modules/pages/maintain/maintain.ts | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/pages/maintain/forms/components/form.jdbc.ts b/src/modules/pages/maintain/forms/components/form.jdbc.ts index d9fe88c..34ffe27 100644 --- a/src/modules/pages/maintain/forms/components/form.jdbc.ts +++ b/src/modules/pages/maintain/forms/components/form.jdbc.ts @@ -295,7 +295,7 @@ export class FormJdbc extends BI.Widget { forms: [{ type: BI.Editor.xtype, $value: 'password', - cls: 'bi-border bi-border-radius', + cls: 'bi-border-bottom', width: 300, height: 20, allowBlank: true, diff --git a/src/modules/pages/maintain/maintain.ts b/src/modules/pages/maintain/maintain.ts index 137ccfe..32ed22a 100644 --- a/src/modules/pages/maintain/maintain.ts +++ b/src/modules/pages/maintain/maintain.ts @@ -25,7 +25,7 @@ export class Maintain extends BI.Widget { render() { const { isEdit, databaseType } = this.getEditConnection(); const titleText = getTextByDatabaseType(databaseType); - + return { type: BI.VTapeLayout.xtype, hgap: 5, @@ -82,12 +82,13 @@ export class Maintain extends BI.Widget { this.socketTip.setVisible(true); } - api.setEditedConnectionStatus(this.model.connectionSelectedOne.connectionName); + this.model.connectionSelectedOne + && api.setEditedConnectionStatus(this.model.connectionSelectedOne.connectionName); } private renderItems() { const { type } = this.getEditConnection(); - + return [{ type: MaintainForm.xtype, connectionType: type, @@ -108,7 +109,7 @@ export class Maintain extends BI.Widget { const connectionJDBC = this.model.connectionSelectedOne.connectionData as ConnectionJDBC; databaseType = getJdbcDatabaseType(connectionJDBC.database, connectionJDBC.driver).databaseType; } - + return { type: this.model.connectionSelectedOne.connectionType, text: this.model.connectionSelectedOne.connectionName,