From 9ede5bc78a34fb2e23e6058286673c8b82a323b5 Mon Sep 17 00:00:00 2001 From: wisonic Date: Wed, 27 Nov 2024 14:23:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E8=AE=BE=E7=BD=AE=E7=95=8C=E9=9D=A2=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E7=9C=81=E4=BB=BD=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/parameter/map/Geometry.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/core-frontend/src/views/system/parameter/map/Geometry.vue b/core/core-frontend/src/views/system/parameter/map/Geometry.vue index fca646391f..4b8438ef10 100644 --- a/core/core-frontend/src/views/system/parameter/map/Geometry.vue +++ b/core/core-frontend/src/views/system/parameter/map/Geometry.vue @@ -593,13 +593,7 @@ const mapOption: ChoroplethOptions = { lineWidth: 0.6, lineOpacity: 1 }, - label: { - field: 'name', - style: { - fill: 'black', - textAnchor: 'center' - } - }, + label: false, state: { active: { stroke: 'green', lineWidth: 1 } }, From 1cd22f64fd6e21b48e9143e067d068dce5eecc90 Mon Sep 17 00:00:00 2001 From: wisonic Date: Wed, 27 Nov 2024 14:24:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=9B=BA=E5=AE=9A=E5=88=97=E5=AE=BD=E9=80=82=E5=BA=94?= =?UTF-8?q?=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/canvasStyle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/utils/canvasStyle.ts b/core/core-frontend/src/utils/canvasStyle.ts index c675a33a26..90f213ece8 100644 --- a/core/core-frontend/src/utils/canvasStyle.ts +++ b/core/core-frontend/src/utils/canvasStyle.ts @@ -113,7 +113,7 @@ export function colorRgb(color, opacity) { } export const customAttrTrans = { - basicStyle: ['barWidth', 'lineWidth', 'lineSymbolSize'], + basicStyle: ['barWidth', 'lineWidth', 'lineSymbolSize', 'tableColumnWidth'], tableHeader: ['tableTitleFontSize', 'tableTitleHeight'], tableCell: ['tableItemFontSize', 'tableItemHeight'], misc: [