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; }