feat(fix):视图字段变化优化;过滤组件优化;返回数据优化

This commit is contained in:
junjie
2021-06-15 17:11:47 +08:00
parent 314a100fc5
commit f261acb72f
5 changed files with 16 additions and 11 deletions

View File

@@ -180,6 +180,9 @@ public class ChartViewService {
}
data = datasourceProvider.getData(datasourceRequest);
}
if (StringUtils.containsIgnoreCase(view.getType(), "pie") && data.size() > 1000) {
data = data.subList(0, 1000);
}
// 图表组件可再扩展
List<String> x = new ArrayList<>();