@@ -633,6 +633,10 @@ async function getIndexSelect() {
cargoOptions.value = [];
}
+
+router.beforeEach(() => {
+ myChart.value.dispose();
+});
onMounted(() => {
getIndexData("init");
getIndexSelect();