vue3-apexcharts icon indicating copy to clipboard operation
vue3-apexcharts copied to clipboard

Switching a route within an event handler causes error

Open Saare opened this issue 4 years ago • 0 comments

Switching a route inside an apexchart event callback causes an error in the console. image (I've been using the solution suggested in #20 to bind the event)

<apexchart
   ...
   @markerClick="click"
></apexchart>
const click = () => {
   router.push('/data');
};

Complete code and example: https://stackblitz.com/edit/vue3-apex-router-bug?devtoolsheight=33&file=index.html

Saare avatar Oct 17 '21 20:10 Saare