mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
fix(仪表板) 解决有空值下载excel报NPE的问题
This commit is contained in:
@@ -98,7 +98,7 @@ public class TableInfoHandler extends DefaultChartHandler {
|
||||
}
|
||||
}
|
||||
assert fieldDTO != null;
|
||||
if (fieldDTO.isAgg()) {
|
||||
if (fieldDTO != null && fieldDTO.isAgg()) {
|
||||
sqlMeta.getXFields().get(i).setFieldName("'-'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user