Browse Source

REPORT-56840 修改参数命名

fix-lag
方磊 3 years ago
parent
commit
ed4d45f70a
  1. 4
      designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java

4
designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java

@ -171,7 +171,7 @@ public class TreeTableDataDictPane extends BasicPane implements Previewable {
}
private void tdChange(boolean isRefreshComboBoxItems) {
private void tdChange(boolean isChangeDS) {
TableDataWrapper tableDataWrappe = this.tableDataNameComboBox.getSelectedItem();
if (tableDataWrappe == null) {
return;
@ -188,7 +188,7 @@ public class TreeTableDataDictPane extends BasicPane implements Previewable {
String[] columnNames = new String[len];
namelist.toArray(columnNames);
for (int i = 0; i < valueEditorPanes.length; i++) {
if (isRefreshComboBoxItems || isNoSelectedColumnName(valueEditorPanes[i])) {
if (isChangeDS || isNoSelectedColumnName(valueEditorPanes[i])) {
valueEditorPanes[i].setEditors(new Editor[]{new ColumnNameEditor(columnNames), new ColumnIndexEditor(len)}, columnNames[0]);
}
}

Loading…
Cancel
Save