Browse Source

Merge pull request #918 in DESIGN/design from ~ABEL.CHEN/design:release/10.0 to release/10.0

* commit '1fa7c032bb87485a966e7aac3eb1edd8f3af3421':
  REPORT-16012 populate展示需要使用快照对象,在原始对象上的任意修改都会映射到数据库上,导致卡顿
bugfix/10.0
abel.chen 6 years ago
parent
commit
c7bf29acc9
  1. 2
      designer-realize/src/main/java/com/fr/design/widget/ui/ParameterTreeComboBox.java

2
designer-realize/src/main/java/com/fr/design/widget/ui/ParameterTreeComboBox.java

@ -161,7 +161,7 @@ public class ParameterTreeComboBox extends FRTreeComboBox {
// 全局数据源参数 // 全局数据源参数
parameters = new Parameter[0]; parameters = new Parameter[0];
Calculator c = Calculator.createCalculator(); Calculator c = Calculator.createCalculator();
TableDataConfig tableDataConfig = TableDataConfig.getInstance(); TableDataConfig tableDataConfig = TableDataConfig.getInstance().mirror();
Iterator<String> nameIt = tableDataConfig.getTableDatas().keySet().iterator(); Iterator<String> nameIt = tableDataConfig.getTableDatas().keySet().iterator();
while (nameIt.hasNext()) { while (nameIt.hasNext()) {
TableData tableData = tableDataConfig.getTableData(nameIt.next()); TableData tableData = tableDataConfig.getTableData(nameIt.next());

Loading…
Cancel
Save