Browse Source

fix: KERNEL-1359 默认选中第一个模式

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

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

@ -640,6 +640,9 @@ export class FormJdbc extends BI.Widget {
public setSchemas(schemas: string[]) { public setSchemas(schemas: string[]) {
this.schemas = schemas; this.schemas = schemas;
if (schemas.length > 0) {
this.form.schema.setValue(schemas[0]);
}
} }
public getSubmitValue():Connection { public getSubmitValue():Connection {

Loading…
Cancel
Save