Browse Source

fix: BI-52681 修复模式显示方式

qufenxi
alan 5 years ago
parent
commit
1d1da3f12b
  1. 4
      src/modules/pages/maintain/forms/components/form.jdbc.ts

4
src/modules/pages/maintain/forms/components/form.jdbc.ts

@ -63,7 +63,7 @@ export class FormJdbc extends BI.Widget {
this.oldPassword = password; this.oldPassword = password;
const { host, port, databaseName } = resolveUrlInfo(url); const { host, port, databaseName } = resolveUrlInfo(url);
const { hgap, vgap } = CONNECTION_LAYOUT; const { hgap, vgap } = CONNECTION_LAYOUT;
return { return {
type: Vertical, type: Vertical,
hgap, hgap,
@ -350,7 +350,7 @@ export class FormJdbc extends BI.Widget {
vgap: 15, vgap: 15,
disabled: true, disabled: true,
value: schema, value: schema,
items: this.schemas, items: schema ? [{ text: schema, value:schema }] : [],
ref: (_ref: any) => { ref: (_ref: any) => {
this.form.schema = _ref; this.form.schema = _ref;
}, },

Loading…
Cancel
Save