forked from github/dataease
refactor: 样式控制面板视图结果在编辑界面也可生效
This commit is contained in:
parent
d0ecfd1289
commit
013d5d5de9
@ -285,7 +285,7 @@ public class ChartViewService {
|
||||
try {
|
||||
ChartViewDTO view = this.getOne(id, request.getQueryFrom());
|
||||
// 如果是从仪表板获取视图数据,则仪表板的查询模式,查询结果的数量,覆盖视图对应的属性
|
||||
if (CommonConstants.VIEW_QUERY_FROM.PANEL.equals(request.getQueryFrom()) && CommonConstants.VIEW_RESULT_MODE.CUSTOM.equals(request.getResultMode())) {
|
||||
if (CommonConstants.VIEW_RESULT_MODE.CUSTOM.equals(request.getResultMode())) {
|
||||
view.setResultMode(request.getResultMode());
|
||||
view.setResultCount(request.getResultCount());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user