From 401d223fdf7200e4cc04b9d6902cd91528ea8e14 Mon Sep 17 00:00:00 2001 From: Fine Date: Sat, 17 Dec 2022 15:02:37 +0800 Subject: [PATCH] fix: sankey graph --- src/components/Graph.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Graph.vue b/src/components/Graph.vue index 24fb20e2..e8fdc841 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -96,6 +96,10 @@ limitations under the License. --> } instance.on("click", (params: EventParams) => { currentParams.value = params; + if (props.option.series.type === "sankey") { + emits("select", currentParams.value); + return; + } if (!menus.value || !chartRef.value) { return; }