Browse Source

Merge pull request #2708 in DEC/decision-webui-dcm from feature/10.0 to research/10.0

* commit '93413bd570808a9fb7491b9b199c9854597af84e':
  DEC-20078 fix: 【迭代】【部分数据连接支持fetchSize】JNDI数据连接新建、编辑页面的「测试连接」、「保存」按钮点击无反应
research/10.0
superman 3 years ago
parent
commit
da26a1a587
  1. 3
      src/modules/pages/maintain/components/driverselector/driverselector.ts
  2. 2
      src/modules/pages/maintain/forms/components/form.jdbc.ts
  3. 2
      src/modules/pages/maintain/forms/form.ts

3
src/modules/pages/maintain/components/driverselector/driverselector.ts

@ -118,7 +118,8 @@ export class DriverSelector extends BI.Widget {
watermark: BI.i18nText('Dec-Please_Input'),
items: this.model.driverClassItems,
value: this.model.customDriver.driver,
text: () => this.model.customDriver.text || BI.i18nText('Dec-Please_Select'),
text: () => this.model.customDriver.text || '',
defaultText: BI.i18nText('Dec-Please_Select'),
warningTitle: BI.i18nText('Dec-Dcm-Driver_Driver_File_Lost'),
listeners: [
{

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

@ -71,6 +71,7 @@ export class FormJdbc extends BI.Widget {
const { connectionName, connectionData } = this.options.formData;
const {
driver,
driverSource,
user,
password,
originalCharsetName,
@ -138,6 +139,7 @@ export class FormJdbc extends BI.Widget {
this.form.driver = _ref;
},
driver,
driverSource,
connectionData,
listeners: [
{

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

@ -235,7 +235,7 @@ export class MaintainForm extends BI.Widget {
return false;
}
if (!this.form.validation || !this.form.validation()) {
if (this.form.validation && !this.form.validation()) {
return false;
}

Loading…
Cancel
Save