From 84559e2a3f25c6f5a9fad7dc78e1450b76e385a1 Mon Sep 17 00:00:00 2001 From: fit2cloudrd Date: Mon, 4 Jul 2022 18:02:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=9F=A9=E5=BD=A2=E6=A0=91=E5=9B=BE=E5=9C=A8=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E6=97=B6=E5=8F=AF=E8=83=BD=E8=A6=86=E7=9B=96=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#2573)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 修复移动端编辑后列表移动端标志没有及时显示 * fix: 修复矩形树图在全屏时可能覆盖边框的问题 Co-authored-by: wangjiahao <1522128093@qq.com> --- frontend/src/components/canvas/utils/style.js | 2 -- frontend/src/views/chart/chart/treemap/treemap.js | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/components/canvas/utils/style.js b/frontend/src/components/canvas/utils/style.js index 9606eb2de8..b010aed82a 100644 --- a/frontend/src/components/canvas/utils/style.js +++ b/frontend/src/components/canvas/utils/style.js @@ -114,8 +114,6 @@ export const customAttrTrans = { 'quotaFontSize', 'spaceSplit', // 间隔 'scatterSymbolSize', // 气泡大小,散点图 - 'treemapWidth', // 矩形树图 - 'treemapHeight', 'radarSize'// 雷达占比 ], 'label': [ diff --git a/frontend/src/views/chart/chart/treemap/treemap.js b/frontend/src/views/chart/chart/treemap/treemap.js index 559a40bc0b..91ea9b54c9 100644 --- a/frontend/src/views/chart/chart/treemap/treemap.js +++ b/frontend/src/views/chart/chart/treemap/treemap.js @@ -1,6 +1,6 @@ import { hexColorToRGBA } from '@/views/chart/chart/util' import { componentStyle } from '../common/common' -import {BASE_ECHARTS_SELECT, DEFAULT_TOOLTIP} from '@/views/chart/chart/chart' +import { BASE_ECHARTS_SELECT, DEFAULT_TOOLTIP } from '@/views/chart/chart/chart' export function baseTreemapOption(chart_option, chart) { // 处理shape attr @@ -54,7 +54,6 @@ export function baseTreemapOption(chart_option, chart) { } chart_option.series[0].selectedMode = true chart_option.series[0].select = BASE_ECHARTS_SELECT - // y.type = 'treemap' chart_option.series[0].data.push(y) } chart_option.series[0].name = chart.data.series[0].name