forked from github/dataease
Merge pull request #4688 from dataease/pr@dev@fix_app-view-field
fix(应用): 修复应用不支持视图计算字段的问题 #4686
This commit is contained in:
commit
d169f1e9f2
@ -363,7 +363,7 @@ public class PanelAppTemplateService {
|
||||
//替换datasetId
|
||||
chartViewField.setTableId(datasetsRealMap.get(chartViewField.getTableId()));
|
||||
//替换chartViewId
|
||||
chartViewField.setChartId(chartViewsRealMap.get(chartViewField.getId()));
|
||||
chartViewField.setChartId(chartViewsRealMap.get(chartViewField.getChartId()));
|
||||
//替换datasetFieldId
|
||||
datasetFieldsRealMap.forEach((k, v) -> {
|
||||
chartViewField.setOriginName(chartViewField.getOriginName().replaceAll(k, v));
|
||||
|
Loading…
Reference in New Issue
Block a user