Browse Source

Merge pull request #47 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to feature/10.0

* commit '3e0b7c1d2d1fbc25c601dc2382bb73b207730461':
  fix: KERNEL-1359 默认选中第一个模式
qufenxi
alan 5 years ago
parent
commit
4c75448e71
  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