Merge pull request #8427 from dataease/pr@dev@fix_panel
Pr@dev@fix panel
This commit is contained in:
commit
447d28e775
@ -1329,7 +1329,7 @@ public class ChartViewService {
|
||||
}
|
||||
// 如果是表格导出查询 则在此处直接就可以返回
|
||||
if(chartExtRequest.getExcelExportFlag()){
|
||||
Map<String,Object> sourceInfo = new HashMap<>();
|
||||
Map<String, Object> sourceInfo = ChartDataBuild.transTableNormal(xAxis, yAxis, view, data, extStack, desensitizationList);
|
||||
sourceInfo.put("sourceData",data);
|
||||
chartViewDTO.setData(sourceInfo);
|
||||
return chartViewDTO;
|
||||
|
||||
@ -842,11 +842,7 @@ export default {
|
||||
if ((key === 'fontSize' || key === 'activeFontSize') && (this.terminal === 'mobile' || ['custom'].includes(component.type))) {
|
||||
// do nothing 移动端字符大小无需按照比例缩放,当前保持不变(包括 v-text 和 过滤组件)
|
||||
} else {
|
||||
if (key === 'fontSize' && component.component !== 'de-tabs') {
|
||||
component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth * 1.4)
|
||||
} else {
|
||||
component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth)
|
||||
}
|
||||
component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user