Browse Source

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

* commit '4c5b30e6cdde4ee8b5b4a9282c1776aeb82404bf':
  fix: 删除无用代码
  fix: BI-52681 修复模式显示方式
qufenxi
alan 5 years ago
parent
commit
c82e33fdb2
  1. 5
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -17,8 +17,6 @@ export class FormJdbc extends BI.Widget {
oldPassword = '';
allDatabaseTypes = getAllDatabaseTypes();
private schemas = [] as string[];
testStatus: any;
advancedSet: any;
formUser: any;
@ -350,7 +348,7 @@ export class FormJdbc extends BI.Widget {
vgap: 15,
disabled: true,
value: schema,
items: this.schemas,
items: schema ? [{ text: schema, value:schema }] : [],
ref: (_ref: any) => {
this.form.schema = _ref;
},
@ -674,7 +672,6 @@ export class FormJdbc extends BI.Widget {
}
public setSchemas(schemas: string[]) {
this.schemas = schemas;
this.form.schema.setEnable(true);
if (schemas.length > 0) {
const value = this.form.schema.getValue()[0];

Loading…
Cancel
Save