Browse Source

REPORT-114392 FR-FBP版本本地设计适配 优化部分卡顿逻辑

fbp-1.0
Destiny.Lin 4 months ago
parent
commit
3cb01e02b2
  1. 6
      designer-base/src/main/java/com/fr/design/cache/DesignCacheManager.java

6
designer-base/src/main/java/com/fr/design/cache/DesignCacheManager.java vendored

@ -36,10 +36,16 @@ public class DesignCacheManager {
return cacheTableData.get() != null; return cacheTableData.get() != null;
} }
/**
* 获取数据集缓存
*/
public static ThreadLocal<Map<String, TableData>> getCacheTableData() { public static ThreadLocal<Map<String, TableData>> getCacheTableData() {
return cacheTableData; return cacheTableData;
} }
/**
* 设置数据集缓存
*/
public static void setCacheTableData(ThreadLocal<Map<String, TableData>> cacheTableData) { public static void setCacheTableData(ThreadLocal<Map<String, TableData>> cacheTableData) {
DesignCacheManager.cacheTableData = cacheTableData; DesignCacheManager.cacheTableData = cacheTableData;
} }

Loading…
Cancel
Save