Browse Source

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

* commit 'd97d5d1c4f51154367c5f8e485a16a303c3f75f1':
  fix: DEC-10162 修改模式选择时的bug
qufenxi
alan 5 years ago
parent
commit
a7e9c640f1
  1. 2
      src/modules/pages/maintain/forms/components/form.jdbc.ts

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

@ -681,7 +681,7 @@ export class FormJdbc extends BI.Widget {
value: item,
};
}));
this.form.schema.setValue(value ? value : schemas[0]);
this.form.schema.setValue(value && schemas.some(item => item === value) ? value : schemas[0]);
}
}

Loading…
Cancel
Save