From ee1bd2b2b876cdcdc21fcf6b6866b8d14a4b11d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Sat, 16 Dec 2023 21:26:16 +0800
Subject: [PATCH 1/5] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=AB=98=E7=89=88?=
=?UTF-8?q?=E6=9C=ACTS=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/Charts/Mores/Funnel/index.vue | 96 +++++----
.../components/Charts/Mores/Graph/index.vue | 3 +-
.../components/Charts/Mores/Heatmap/index.vue | 198 +++++++++---------
3 files changed, 157 insertions(+), 140 deletions(-)
diff --git a/src/packages/components/Charts/Mores/Funnel/index.vue b/src/packages/components/Charts/Mores/Funnel/index.vue
index 35ba86fd..7965a058 100644
--- a/src/packages/components/Charts/Mores/Funnel/index.vue
+++ b/src/packages/components/Charts/Mores/Funnel/index.vue
@@ -1,44 +1,52 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/packages/components/Charts/Mores/Graph/index.vue b/src/packages/components/Charts/Mores/Graph/index.vue
index 378c968e..b0e49837 100644
--- a/src/packages/components/Charts/Mores/Graph/index.vue
+++ b/src/packages/components/Charts/Mores/Graph/index.vue
@@ -3,7 +3,7 @@
ref="vChartRef"
:init-options="initOptions"
:theme="themeColor"
- :option="option"
+ :option="(option as EChartsOption)"
:manual-update="isPreview()"
autoresize
>
@@ -12,6 +12,7 @@
+
+
+
+
+
From c0c68e8b5958e09e18c1af243eb1130885d8b991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Sat, 16 Dec 2023 21:43:45 +0800
Subject: [PATCH 2/5] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=85=AC?=
=?UTF-8?q?=E5=85=B1=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E7=9A=84=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/hooks/useChartDataFetch.hook.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/hooks/useChartDataFetch.hook.ts b/src/hooks/useChartDataFetch.hook.ts
index 5fc84554..8eb47d90 100644
--- a/src/hooks/useChartDataFetch.hook.ts
+++ b/src/hooks/useChartDataFetch.hook.ts
@@ -119,7 +119,10 @@ export const useChartDataFetch = (
if (isPreview()) {
targetComponent.request.requestDataType === RequestDataTypeEnum.Pond
- ? addGlobalDataInterface(targetComponent, useChartEditStore, updateCallback || echartsUpdateHandle)
+ ? addGlobalDataInterface(targetComponent, useChartEditStore, (newData: any) => {
+ echartsUpdateHandle(newData)
+ if (updateCallback) updateCallback(newData)
+ })
: requestIntervalFn()
} else {
requestIntervalFn()
From b5750246f161125c646842aec3f82bfe351e0ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Sat, 16 Dec 2023 21:44:12 +0800
Subject: [PATCH 3/5] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A5=BC=E5=9B=BE?=
=?UTF-8?q?=E4=BC=9A=E8=87=AA=E5=8A=A8=E8=BD=AE=E6=92=AD=E7=9A=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/packages/components/Charts/Pies/PieCommon/index.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/packages/components/Charts/Pies/PieCommon/index.vue b/src/packages/components/Charts/Pies/PieCommon/index.vue
index a662df38..ecb4e673 100644
--- a/src/packages/components/Charts/Pies/PieCommon/index.vue
+++ b/src/packages/components/Charts/Pies/PieCommon/index.vue
@@ -134,7 +134,10 @@ watch(
)
const { vChartRef } = useChartDataFetch(props.chartConfig, useChartEditStore, (newData: typeof dataJson) => {
- addPieInterval(newData)
+ clearPieInterval()
+ if (props.chartConfig.option.isCarousel) {
+ addPieInterval(newData)
+ }
})
onMounted(() => {
From eb804cbb5f74922f832b7a4ff4ffb6af91d344a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Sat, 16 Dec 2023 21:50:51 +0800
Subject: [PATCH 4/5] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=96=87=E6=9C=AC?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=86=85=E8=BE=B9=E8=B7=9D=E9=A2=84=E8=A7=88?=
=?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E4=BC=9A=E6=92=91=E5=BC=80=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/packages/components/Informations/Texts/TextCommon/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/packages/components/Informations/Texts/TextCommon/index.vue b/src/packages/components/Informations/Texts/TextCommon/index.vue
index 6732df8c..70c31f3b 100644
--- a/src/packages/components/Informations/Texts/TextCommon/index.vue
+++ b/src/packages/components/Informations/Texts/TextCommon/index.vue
@@ -70,6 +70,7 @@ const click = () => {
display: flex;
align-items: center;
justify-content: v-bind('textAlign');
+ overflow: hidden;
.content {
color: v-bind('fontColor');
From ba0b8f13743542ebcaa364eecb8124acdb6d198d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Sun, 17 Dec 2023 06:26:58 +0000
Subject: [PATCH 5/5] =?UTF-8?q?test:=20=E6=B5=8B=E8=AF=95=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/App.vue b/src/App.vue
index 2fa191d8..26990551 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -30,5 +30,5 @@ const hljsTheme = useCode()
// 全局语言
const { locale, dateLocale } = useLang()
-
+//测试提交